Skip to content

Commit

Permalink
fixed linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Jul 19, 2023
1 parent 73a0ec7 commit 87f06b0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions care/abdm/utils/api_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,16 +291,15 @@ def get_abha_card_png(self, data):
path = "/v1/account/getPngCard"
access_token = self.generate_access_token(data)
response = self.api.get(path, {}, access_token)

return b64encode(response.content)

def get_abha_card_pdf(self, data):
path = "/v1/account/getCard"
access_token = self.generate_access_token(data)
response = self.api.get(path, {}, access_token)

return b64encode(response.content)

return b64encode(response.content)

# /v1/account/qrCode
def get_qr_code(self, data, auth):
Expand Down

0 comments on commit 87f06b0

Please sign in to comment.