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

@@ -12,7 +12,7 @@ import {
const serviceAccessors = new ServiceAccessors<VolunteerWithoutId, Volunteer>(elementName)
export const volunteerListGet = serviceAccessors.listGet()
export const volunteerListGet = serviceAccessors.securedListGet()
export const volunteerDiscordIdGet = serviceAccessors.securedCustomGet<[number]>("DiscordId")
export const volunteerPartialAdd = serviceAccessors.customPost<[Partial<Volunteer>]>("PartialAdd")
export const volunteerSet = serviceAccessors.set()