1
0
forked from spitkov/sxbin

revert back

This commit is contained in:
spitkov 2024-10-05 20:31:49 +02:00
parent 92ca08c1ed
commit f9d9e0e3c0

2
app.py
View File

@ -668,7 +668,7 @@ def upload_pastebin():
vanity = shortuuid.uuid()[:8]
print(f"Generated vanity: {vanity}")
user_id = current_user.id if current_user.is_authenticated else Anonymous
user_id = current_user.id if current_user.is_authenticated else None
print(f"User ID: {user_id}")
db = get_db()