mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-18 18:51:13 +10:00
feat: partial user platform support + statusMessage -> message
This commit is contained in:
@ -11,7 +11,7 @@ export default defineEventHandler(async (h3) => {
|
||||
if (!unsafeId)
|
||||
throw createError({
|
||||
statusCode: 400,
|
||||
statusMessage: "Missing screenshot ID",
|
||||
message: "Missing screenshot ID",
|
||||
});
|
||||
|
||||
const screenshotId = sanitize(unsafeId);
|
||||
|
||||
Reference in New Issue
Block a user