feat: emit notification events from existing routes

This commit is contained in:
Kirill
2026-05-18 11:39:02 +05:00
parent e73a0ae09a
commit 84cdccaa17
7 changed files with 84 additions and 2 deletions
+1
View File
@@ -27,6 +27,7 @@ export async function issueEmailCode({ email, purpose, userId = null }) {
},
})
await sendLoginCodeEmail({ to: email, code })
return code
}
function parseEnvBool(raw) {