MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / reviewThread

Method reviewThread

server/src/addie/thread-service.ts:369–380  ·  view source on GitHub ↗

* Mark thread as reviewed

(
    threadId: string,
    reviewedBy: string,
    notes?: string
  )

Source from the content-addressed store, hash-verified

367 * Mark thread as reviewed
368 */
369 async reviewThread(
370 threadId: string,
371 reviewedBy: string,
372 notes?: string
373 ): Promise<void> {
374 await query(
375 `UPDATE addie_threads
376 SET reviewed = TRUE, reviewed_by = $2, reviewed_at = NOW(), review_notes = $3, updated_at = NOW()
377 WHERE thread_id = $1`,
378 [threadId, reviewedBy, notes || null]
379 );
380 }
381
382 /**
383 * Flag a thread

Callers 2

createAddieAdminRouterFunction · 0.80

Calls 1

queryFunction · 0.85

Tested by

no test coverage detected