mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-11-14 00:43:50 +00:00
use instruction type union array
This commit is contained in:
parent
c2209dfb6b
commit
b80596a181
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user