Skip to content

Commit

Permalink
chore: remove redundant params
Browse files Browse the repository at this point in the history
  • Loading branch information
codelif authored Sep 20, 2024
1 parent 0eaff78 commit 1dce528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyjiit/encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def encrypt(data: bytes) -> bytes:
crypt = get_crypt(generate_key(), IV)
return crypt.encrypt(pad(data, 16))

def deserialize_payload(payload: str, is_json=False) -> dict | str:
def deserialize_payload(payload: str) -> dict | str:
"""Returns decrypted json from payload"""
pbytes = base64.b64decode(payload)
raw = decrypt(pbytes)
Expand Down

0 comments on commit 1dce528

Please sign in to comment.