From c2e0e55a1931b81d3507f5b2fa91eccd5576b4f5 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 17 Dec 2021 14:48:20 +0100 Subject: [PATCH] fix(ui): Invite should send only transferee userid --- src/store/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/index.ts b/src/store/index.ts index 9bede9b..0b0cf73 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -187,7 +187,7 @@ export const useEventStore = defineStore({ return api.post('/events/invitations', { job: job.id, invitees: invitees.map((v) => v.userid), - transferee: transferee, + transferee: transferee?.userid, }); },