Handled audit log and some other edge cases
All checks were successful
Pull Request CI / Merge Check (pull_request) Successful in 5m18s

This commit is contained in:
2026-03-01 13:24:16 -05:00
parent 7c090c647e
commit e8b30f6947
3 changed files with 8 additions and 4 deletions

View File

@@ -145,4 +145,6 @@ export async function postComment(commentData: DiscussionComment, poster: number
if (!result.affectedRows || result.affectedRows !== 1) {
throw new Error('Failed to insert comment: expected 1 row to be inserted');
}
return Number(result.insertId);
}