Dax Raad 9 months ago
parent
commit
601f610eb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/packages/function/src/api.ts

+ 1 - 1
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)