From 1dce5284208db977a7763be24cec5fc88612cd7e Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 20 Sep 2024 13:02:31 +0530 Subject: [PATCH] chore: remove redundant params --- pyjiit/encryption.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyjiit/encryption.py b/pyjiit/encryption.py index 22f341a..094917e 100644 --- a/pyjiit/encryption.py +++ b/pyjiit/encryption.py @@ -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)