mirror of
https://github.com/remnawave/python-sdk.git
synced 2026-05-13 12:16:42 +00:00
fix: removed wrong bracket in happ crypt link generation
This commit is contained in:
parent
95a93d72d5
commit
92419561bd
1 changed files with 1 additions and 1 deletions
|
|
@ -52,6 +52,6 @@ def create_happ_crypto_link(content: str, method: Literal["v3", "v4"] = "v4") ->
|
|||
content.encode("utf-8"), padding.PKCS1v15() # RSA_PKCS1_PADDING
|
||||
)
|
||||
|
||||
return "happ://crypt{" + method.lower().replace("v", "") + "/" + base64.b64encode(encrypted).decode()
|
||||
return "happ://crypt" + method.lower().replace("v", "") + "/" + base64.b64encode(encrypted).decode()
|
||||
except Exception:
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue