Pre-registrant invite was the only email route calling Resend directly (bypassing server/utils/resend.js), so dev/e2e runs were dispatching real email. Gate just the network call; DB updates (jti, status, activity log) still run. Mirrors the bypass pattern in server/middleware/03.rate-limit.js. Other email routes via server/utils/resend.js still send live in dev mode — wrapper refactor tracked in BACKLOG. |
||
|---|---|---|
| .. | ||
| [id].get.js | ||
| [id].put.js | ||
| bulk-status.patch.js | ||
| index.get.js | ||
| invite.post.js | ||
| stats.get.js | ||