MCPcopy Create free account
hub / github.com/Dhravya/notty / webSocketError

Method webSocketError

src/durable-objects/user-notes.ts:982–984  ·  view source on GitHub ↗
(ws: WebSocket)

Source from the content-addressed store, hash-verified

980 restoredTitle, restoredContent, noteId
981 );
982
983 await this.createVersion(noteId, restoredTitle, restoredContent, "restore", "restore", "Restored version");
984 this.resetNoteSync(noteId);
985
986 const note = this.getNote(noteId);
987 return Response.json(note);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected