From 2e2bdd46b45aa0c50a6423e8e17810db38c1554a Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 27 May 2025 15:41:44 -0400 Subject: sync --- app/packages/function/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/packages/function/src/api.ts') diff --git a/app/packages/function/src/api.ts b/app/packages/function/src/api.ts index e126cc08a..7ec8a3a69 100644 --- a/app/packages/function/src/api.ts +++ b/app/packages/function/src/api.ts @@ -35,7 +35,7 @@ export class SyncServer extends DurableObject { ws.close(code, "Durable Object is closing WebSocket") } - async publish(key: string, content: string) { + async publish(key: string, content: any) { await this.ctx.storage.put(key, content) const clients = this.ctx.getWebSockets() -- cgit v1.2.3