Fix: mark approve handler async for await sendResendEmailWithRetry; v1.0.13
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,7 @@ export function register(app) {
|
||||
res.json({ ok: true, question })
|
||||
})
|
||||
|
||||
app.post('/api/admin-questions/:id/approve', requireAdminAuth, (req, res) => {
|
||||
app.post('/api/admin-questions/:id/approve', requireAdminAuth, async (req, res) => {
|
||||
const { id } = req.params
|
||||
const { approved } = req.body ?? {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user