We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac2dc6 commit 0a52774Copy full SHA for 0a52774
src/lib/api/board.ts
@@ -1,6 +1,6 @@
1
import { toast } from "$lib/models/ToastStore.svelte";
2
3
-export async function saveBoard(data: { board: boolean[][]; name: string }, isJapanese: boolean) {
+export async function saveBoard(data: { board: number[][]; name: string }, isJapanese: boolean) {
4
try {
5
const response = await fetch("/api/board", {
6
method: "POST",
0 commit comments