From 601f610eb71cb41457a93f0784ace588f470cb10 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 27 May 2025 16:56:12 -0400 Subject: [PATCH] sync --- app/packages/function/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/packages/function/src/api.ts b/app/packages/function/src/api.ts index 7ec8a3a6..858b8c52 100644 --- a/app/packages/function/src/api.ts +++ b/app/packages/function/src/api.ts @@ -19,7 +19,7 @@ export class SyncServer extends DurableObject { const data = await this.ctx.storage.list() data.forEach((content: any, key) => { if (key === "shareID") return - server.send(JSON.stringify({ key, content: JSON.parse(content) })) + server.send(JSON.stringify({ key, content: content })) }) }, 0)