Add Japanese message string for django.po #25

Merged
Danhia merged 17 commits from ysaito/website:main into translation 2022-02-18 16:17:47 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 11164bb84a - Show all commits

View File

@ -37,7 +37,7 @@ def authorize(request):
try: try:
token = oauth.discord.authorize_access_token(request) token = oauth.discord.authorize_access_token(request)
except: except:
return bad_request(request, "Connection refused") return redirect('accounts:edit')
response = oauth.discord.get('users/@me', token=token) response = oauth.discord.get('users/@me', token=token)
response = response.json() response = response.json()
discord_id = response['id'] discord_id = response['id']