fix(ui): Invite should send only transferee userid

This commit is contained in:
Ferdinand Thiessen 2021-12-17 14:48:20 +01:00
parent eed25f8290
commit c2e0e55a19
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ export const useEventStore = defineStore({
return api.post<FG.Invitation[]>('/events/invitations', {
job: job.id,
invitees: invitees.map((v) => v.userid),
transferee: transferee,
transferee: transferee?.userid,
});
},