Skip to content

Commit

Permalink
Merge pull request #47 from paypay/hotfix/api_id_missing
Browse files Browse the repository at this point in the history
Add CREATE_QR_SESSION api_id to account linking
  • Loading branch information
Shreyansh Pandey authored Dec 22, 2020
2 parents e061639 + 785d836 commit 53aa137
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paypayopa/resources/account.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .base import Resource
from ..constants.url import URL
from ..constants.api_list import API_NAMES


class Account(Resource):
Expand All @@ -21,4 +22,4 @@ def create_qr_session(self, data={}, **kwargs):
if "referenceId" not in data:
raise ValueError("\x1b[31m MISSING REQUEST PARAMS "
"\x1b[0m for referenceId")
return self.post_url(url, data, **kwargs)
return self.post_url(url, data, api_id=API_NAMES.CREATE_QR_SESSION, **kwargs)

0 comments on commit 53aa137

Please sign in to comment.