summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/util/handlers/route.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/util/handlers/route.ts b/src/api/util/handlers/route.ts

index b13c929e4..30ffa2d01 100644 --- a/src/api/util/handlers/route.ts +++ b/src/api/util/handlers/route.ts
@@ -135,7 +135,7 @@ export function route(opts: RouteOptions) { ); if (process.env.LOG_VALIDATION_ERRORS) console.log( - `[VALIDATION ERROR] ${req.method} ${req.originalUrl} -`, + `[VALIDATION ERROR] ${req.method} ${req.originalUrl} - SCHEMA='${opts.requestBody}' -`, validate?.errors, ); throw FieldErrors(fields);