MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / markUnread

Function markUnread

ui/src/api/inbox.ts:101–105  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

99 },
100
101 async markUnread(id: string): Promise<{ ok: true; id: string }> {
102 return fetchJson(`/api/inbox/${encodeURIComponent(id)}/read`, {
103 method: 'DELETE',
104 })
105 },
106}

Callers

nothing calls this directly

Calls 1

fetchJsonFunction · 0.90

Tested by

no test coverage detected