summaryrefslogtreecommitdiffhomepage
path: root/app/packages/function
diff options
context:
space:
mode:
Diffstat (limited to 'app/packages/function')
-rw-r--r--app/packages/function/src/api.ts2
1 files changed, 1 insertions, 1 deletions
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()