Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f2ceccf

Browse files
committed
F
1 parent 95a736c commit f2ceccf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎api/views.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
from callback.models import Auth
77
from django.shortcuts import get_object_or_404
88
from bigcommerce.api import BigcommerceApi
9+
import datetime
10+
911

1012

1113
def client_secret():
1214
return config('appClientSecret')
1315

1416
def authKey(request):
15-
signed_payload = request.GET.get('signed_payload')
17+
signed_payload = request.get('signed_payload')
1618
a = BigcommerceApi.oauth_verify_payload(signed_payload, client_secret())
1719
store_hash = a['store_hash']
1820
obj = get_object_or_404(Auth, storehash=store_hash)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /