* Unflag a thread
(threadId: string)
| 403 | * Unflag a thread |
| 404 | */ |
| 405 | async unflagThread(threadId: string): Promise<void> { |
| 406 | await query( |
| 407 | `UPDATE addie_threads SET flagged = FALSE, flag_reason = NULL, updated_at = NOW() WHERE thread_id = $1`, |
| 408 | [threadId] |
| 409 | ); |
| 410 | } |
| 411 | |
| 412 | /** |
| 413 | * Mark a thread's originating Slack message as deleted. |
no test coverage detected