Skip to content

Commit

Permalink
Fixed bug in callback URL help
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeoLacruz committed May 28, 2024
1 parent 460eee1 commit 73a95b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inventree_supplier_panel/supplier_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_settings_content(self, request):
base_url_state = '<span class="badge badge-left rounded-pill bg-danger">Server does not run https</span>'
else:
base_url_state = '<span class="badge badge-left rounded-pill bg-success">OK</span>'
callback_url = base_url + '/' + self.base_url
callback_url = f'{base_url}/{self.base_url}digikeytoken/'
url = f'https://api.digikey.com/v1/oauth2/authorize?response_type=code&client_id={client_id}&redirect_uri={callback_url}digikeytoken/'
return f"""
<p>Setup:</p>
Expand Down

0 comments on commit 73a95b8

Please sign in to comment.