diff options
| author | Dax Raad <[email protected]> | 2025-05-27 15:41:44 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-27 15:41:44 -0400 |
| commit | 2e2bdd46b45aa0c50a6423e8e17810db38c1554a (patch) | |
| tree | 3d7efab5f16a5a3125d368bbb751686980a3260d /app/packages/function/src/api.ts | |
| parent | 3a28ce9b0ad27665423c145e1fe9320b82003175 (diff) | |
| download | opencode-2e2bdd46b45aa0c50a6423e8e17810db38c1554a.tar.gz opencode-2e2bdd46b45aa0c50a6423e8e17810db38c1554a.zip | |
sync
Diffstat (limited to 'app/packages/function/src/api.ts')
| -rw-r--r-- | app/packages/function/src/api.ts | 2 |
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() |
