From 8eded89afa3c8e40b52e6d51a211937bd94948e6 Mon Sep 17 00:00:00 2001 From: waltem01 Date: Fri, 8 Mar 2024 10:33:44 +0100 Subject: [PATCH] remove unused assertion --- Webserver/src/lib/client/httpRequests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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