From d937f18a19cb4940d6bc8bbd2987f6d33e3b476e Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Thu, 23 Nov 2023 23:51:33 +0000 Subject: [PATCH] WS args are strings --- src/App.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.svelte b/src/App.svelte index 3eb17fd..72bea9b 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -50,7 +50,7 @@ function grabFolderMessages(p: TreeFolder) { let msgs = messageList.get(p.path); if (msgs == undefined) { - mainWS.send(JSON.stringify({action: "fetch", args: [p.path, 1, 10, 10]})); + mainWS.send(JSON.stringify({action: "fetch", args: [p.path, "1", "10", "10"]})); return; } folderMessages = msgs;