Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassnielsen committed Nov 26, 2024
1 parent 7206145 commit 3204e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/api/rest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class RequestHandler extends APIHandlerBase {
let match = this.urlPatterns.collection.match(path);
if (match) {
const body = requestBody as any;
const upsertMeta = this.upsertMetaSchema.safeParse(body.meta);
const upsertMeta = this.upsertMetaSchema.safeParse(body);
if (upsertMeta.success) {
// resource upsert
return await this.processUpsert(
Expand Down

0 comments on commit 3204e33

Please sign in to comment.