mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-10 04:22:09 +10:00
fix: editing game image metadata in admin panel
This commit is contained in:
@ -16,9 +16,7 @@ export default defineEventHandler<{
|
||||
|
||||
const body = DeleteGameImage(await readBody(h3));
|
||||
if (body instanceof type.errors) {
|
||||
// hover out.summary to see validation errors
|
||||
console.error(body.summary);
|
||||
|
||||
console.error(h3.path, body.summary);
|
||||
throw createError({
|
||||
statusCode: 400,
|
||||
statusMessage: body.summary,
|
||||
|
||||
Reference in New Issue
Block a user