Securized volunteerListGet API

This commit is contained in:
pikiou
2022-04-21 13:15:06 +02:00
parent 117311e6d2
commit 99700e4474
6 changed files with 26 additions and 90 deletions

View File

@@ -21,7 +21,7 @@ export const useTeamAssign = (): [any, any] => {
volunteer: volunteer.id,
team: volunteer.team === teamId ? 0 : teamId,
})
refreshVolunteers()
refreshVolunteers(jwtToken)
},
[save, refreshVolunteers, jwtToken]
)