Skip to content

The open source coding agent.

TypeScript

sync

Dax Raad601f610eb71c
diff --git a/app/packages/function/src/api.ts b/app/packages/function/src/api.ts
index 7ec8a3a699c..858b8c52ec2 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)