Skip to content

Commit 3204e33

Browse files
Fix check
1 parent 7206145 commit 3204e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/api/rest/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ class RequestHandler extends APIHandlerBase {
317317
let match = this.urlPatterns.collection.match(path);
318318
if (match) {
319319
const body = requestBody as any;
320-
const upsertMeta = this.upsertMetaSchema.safeParse(body.meta);
320+
const upsertMeta = this.upsertMetaSchema.safeParse(body);
321321
if (upsertMeta.success) {
322322
// resource upsert
323323
return await this.processUpsert(

0 commit comments

Comments
 (0)