fix(ui): Invite should send only transferee userid
This commit is contained in:
parent
eed25f8290
commit
c2e0e55a19
|
@ -187,7 +187,7 @@ export const useEventStore = defineStore({
|
||||||
return api.post<FG.Invitation[]>('/events/invitations', {
|
return api.post<FG.Invitation[]>('/events/invitations', {
|
||||||
job: job.id,
|
job: job.id,
|
||||||
invitees: invitees.map((v) => v.userid),
|
invitees: invitees.map((v) => v.userid),
|
||||||
transferee: transferee,
|
transferee: transferee?.userid,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue