mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-16 07:41:36 +02:00
fix another fastapi type
This commit is contained in:
parent
e4078910c4
commit
345cf86544
@ -73,7 +73,7 @@ class AESCipher(object):
|
||||
final_key += key
|
||||
return final_key[:output]
|
||||
|
||||
def decrypt(self, encrypted) -> str:
|
||||
def decrypt(self, encrypted: str) -> str: #type: ignore
|
||||
"""Decrypts a string using AES-256-CBC."""
|
||||
passphrase = self.passphrase
|
||||
encrypted = base64.b64decode(encrypted)
|
||||
|
Loading…
x
Reference in New Issue
Block a user