Align README, docker-compose, .env.template and stale comment with SMTP mailer #6
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ addRoute('post', '/subscription/email', async (req: Request, res: Response) => {
|
|||
const result = await registerSubscription({ pubkey, email, frequency })
|
||||
res.json(result)
|
||||
} catch (error: any) {
|
||||
// If the error is just Postmark failing, the subscription was still created
|
||||
// If the error is just SMTP failing, the subscription was still created
|
||||
// Look up the actual subscription key from the DB
|
||||
const sub = await getSubscriptionByPubkey(pubkey)
|
||||
if (sub) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue