feat: emit notification events from existing routes
This commit is contained in:
@@ -27,6 +27,7 @@ export async function issueEmailCode({ email, purpose, userId = null }) {
|
||||
},
|
||||
})
|
||||
await sendLoginCodeEmail({ to: email, code })
|
||||
return code
|
||||
}
|
||||
|
||||
function parseEnvBool(raw) {
|
||||
|
||||
Reference in New Issue
Block a user