diff --git a/Webserver/src/routes/clock/+page.svelte b/Webserver/src/routes/clock/+page.svelte index 4ec1ff1..c78aa20 100644 --- a/Webserver/src/routes/clock/+page.svelte +++ b/Webserver/src/routes/clock/+page.svelte @@ -4,7 +4,8 @@ redirectAPI, type LineInstruction, type CircleInstruction, - type UpdateInstruction + type UpdateInstruction, + type Instruction } from '$lib/client/httpRequests'; import { onMount } from 'svelte'; @@ -154,7 +155,7 @@ { endpoint: 'update' } as UpdateInstruction - ]; + ] as Instruction[]; // Create a new FormData object to send instructions to the server const fdata = new FormData();