Skip to content

Commit

Permalink
connect -> set
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassnielsen committed Nov 19, 2024
1 parent 2c1b760 commit db755a0
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 @@ -883,7 +883,7 @@ class RequestHandler extends APIHandlerBase {
),
};
upsertPayload.update[key] = {
connect: enumerate(data.data).map((item: any) =>
set: enumerate(data.data).map((item: any) =>
this.makeIdConnect(relationInfo.idFields, item.id)
),
};
Expand Down

0 comments on commit db755a0

Please sign in to comment.