[?] debug

This commit is contained in:
2025-12-08 17:08:20 +09:00
parent 657a62ad21
commit cb705f6c09
+2 -1
View File
@@ -211,7 +211,8 @@ export const app = new Elysia()
.post("/delete", async ({ body, headers }) => {
const { id } = body
checkHeaderKey(headers)
log(`[+] Received delete request for photo ${id}`)
log(`[+] Received delete request for photo ${id} (type: ${typeof id})`)
if (typeof id !== "string" || id.trim() === "") done(400, "Invalid photo ID")
const metadata = await getMetadata()