convert API call function to TS

This commit is contained in:
p2405951 committed 2026-03-13 16:54:08 +01:00
1 parent e73d607ac3
commit 4325fe3dcb
21 files changed
+38 -59

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
import fetchWrapper from "../fetchWrapper";
export default async function GetEventById(id:number) {
return fetchWrapper(`/api/events/${id}`, null, "GET");
}