We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2148e80 commit 3a515a2Copy full SHA for 3a515a2
src/realtime.ts
@@ -2,7 +2,7 @@ import { applyReducer, type Operation } from "fast-json-patch";
2
import { BinaryIndexedTree } from "./crdt/bit.ts";
3
import { apply } from "./crdt/text.ts";
4
import { type Env } from "./index.ts";
5
-import { createRouter, Router, Routes } from "./router.ts";
+import { Router, Routes, createRouter } from "./router.ts";
6
7
export const getObjectFor = (volume: string, ctx: { env: Env }) => {
8
const object = volume.startsWith("ephemeral:")
@@ -446,9 +446,7 @@ export class Realtime implements DurableObject {
446
return Response.json(
447
{
448
timestamp: this.timestamp,
449
- results: results.map((r) =>
450
- r.accepted ? { ...r, content: undefined } : r
451
- ),
+ results,
452
} satisfies VolumePatchResponse,
453
);
454
},
0 commit comments