CHANGE format for deletion token display

This commit is contained in:
Caffeine Fueled 2025-10-26 11:23:21 +01:00
parent 6337f47b0d
commit b62ec8473e
Signed by: cf7
GPG key ID: CA295D643074C68C

View file

@ -292,7 +292,7 @@ async def upload_text(request: Request, authorized: bool = Depends(validate_uplo
size_bytes=len(content)) size_bytes=len(content))
# Return URL and deletion token # Return URL and deletion token
return f"{BASEURL}/{random_path}\nDelete with HTTP POST: {BASEURL}/{random_path}?token={deletion_token}\n" return f"{BASEURL}/{random_path}\nDelete with HTTP POST:\n{BASEURL}/{random_path}?token={deletion_token}\n"
except Exception as e: except Exception as e:
log("ERROR", "upload_failed", log("ERROR", "upload_failed",