shorten link id

This commit is contained in:
callebtc
2023-01-05 12:50:16 +01:00
parent 7788298b8c
commit 260bfe5423
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ from .models import CreatePayLinkData, PayLink
async def create_pay_link(data: CreatePayLinkData, wallet_id: str) -> PayLink:
link_id = urlsafe_short_hash()
link_id = urlsafe_short_hash()[:5]
result = await db.execute(
f"""