Skip to content

Commit 5343fc9

Browse files
author
Marco DiDomenico
committed
fix typo
1 parent a0b45c7 commit 5343fc9

File tree

3 files changed

+2
-78
lines changed

3 files changed

+2
-78
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ From your previously configured app, found at https://app.replyify.com/oauth2/ap
3535
::
3636
REPLYIFY_CLIENT_ID = '{ update me }'
3737
REPLYIFY_CLIENT_SECRET = '{ update me }'
38-
REPLYIFY_USER_ID_FIELD = 'id' # or other unique field like `id`
38+
REPLYIFY_USER_ID_FIELD = 'id' # or other primary key user field like `guid`
3939

4040
INSTALLED_APPS = [
4141
...

_README.md

Lines changed: 0 additions & 76 deletions
This file was deleted.

replyify_oauth2/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def inner_decorator(request, *args, **kwargs):
1717
try:
1818
if Credentials.objects.get(user=request.user).is_valid():
1919
return func(request, *args, **kwargs)
20-
except Credentials.DoesNotExsit:
20+
except Credentials.DoesNotExist:
2121
return redirect(reverse('replyfy:authorize') + '?next=' + request.GET.get('next', request.path))
2222
return redirect(reverse('replyfy:refresh') + '?next=' + request.GET.get('next', request.path))
2323
return wraps(func)(inner_decorator)

0 commit comments

Comments
 (0)