show tickets filtered by active event

This commit is contained in:
j3d1 2024-11-17 00:16:54 +01:00
parent 41b71bd51a
commit c9d58191b3
8 changed files with 175 additions and 198 deletions

View file

@ -100,4 +100,12 @@ const http = {
}
}
export {ticketStateColorLookup, ticketStateIconLookup, http};
const http_session = token => ({
get: async (url) => await http.get(url, token),
post: async (url, data) => await http.post(url, data, token),
put: async (url, data) => await http.put(url, data, token),
patch: async (url, data) => await http.patch(url, data, token),
delete: async (url) => await http.delete(url, token),
});
export {ticketStateColorLookup, ticketStateIconLookup, http, http_session};