From db755a0b9ddfea5080d02eccc7a101a41627b98c Mon Sep 17 00:00:00 2001 From: Thomas Sunde Nielsen Date: Tue, 19 Nov 2024 09:33:27 +0100 Subject: [PATCH] connect -> set --- packages/server/src/api/rest/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/rest/index.ts b/packages/server/src/api/rest/index.ts index adf7ada74..a855f74bd 100644 --- a/packages/server/src/api/rest/index.ts +++ b/packages/server/src/api/rest/index.ts @@ -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) ), };