summaryrefslogtreecommitdiffhomepage
path: root/app/packages/function/src
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-27 15:41:44 -0400
committerDax Raad <[email protected]>2025-05-27 15:41:44 -0400
commit2e2bdd46b45aa0c50a6423e8e17810db38c1554a (patch)
tree3d7efab5f16a5a3125d368bbb751686980a3260d /app/packages/function/src
parent3a28ce9b0ad27665423c145e1fe9320b82003175 (diff)
downloadopencode-2e2bdd46b45aa0c50a6423e8e17810db38c1554a.tar.gz
opencode-2e2bdd46b45aa0c50a6423e8e17810db38c1554a.zip
sync
Diffstat (limited to 'app/packages/function/src')
-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()