remove unused assertion

This commit is contained in:
waltem01 2024-03-08 10:33:44 +01:00
parent 9c520b94b2
commit 8eded89afa

View File

@ -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