diff --git a/Webserver/src/lib/client/httpRequests.ts b/Webserver/src/lib/client/httpRequests.ts index a805045..e7a8ea5 100644 --- a/Webserver/src/lib/client/httpRequests.ts +++ b/Webserver/src/lib/client/httpRequests.ts @@ -13,7 +13,7 @@ export async function redirectAPI({ form, fdata }: { form?: HTMLFormElement; fda // Send request to be redirected to given endpoint const response = await fetch('/api/redirect', { method: 'POST', - body: fdata! + body: fdata }); // Await respose from webserver