Skip to content

Commit

Permalink
pretty fix
Browse files Browse the repository at this point in the history
  • Loading branch information
diginesis committed Oct 12, 2023
1 parent bb90829 commit f64a44c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions l10n_ro_account_anaf_sync/controllers/anaf_oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ def get_anaf_oauth_code(self, **kw):
redirect_uri = user.get_base_url() + "/l10n_ro_account_anaf_sync/anaf_oauth"
data = {
"grant_type": "authorization_code",
"client_id": "{0}".format(anaf_config.client_id),
"client_secret": "{0}".format(anaf_config.client_secret),
"code": "{0}".format(code),
"access_key": "{0}".format(code),
"redirect_uri": "{0}".format(redirect_uri),
"client_id": "{}".format(anaf_config.client_id),
"client_secret": "{}".format(anaf_config.client_secret),
"code": "{}".format(code),
"access_key": "{}".format(code),
"redirect_uri": "{}".format(redirect_uri),
}
response = requests.post(
anaf_config.anaf_oauth_url + "/token",
Expand Down

0 comments on commit f64a44c

Please sign in to comment.