Dax Raad hai 1 ano
pai
achega
601f610eb7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)