Skip waiting on email to send when calling worker
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m2s

This commit was merged in pull request #3.
This commit is contained in:
2025-02-13 22:29:37 +10:30
parent f8e4f93c94
commit a8b511dabc

View File

@@ -48,7 +48,7 @@ ${message}`,
"contact@michaelpivato.dev",
msg.asRaw()
);
await this.env.SEB.send(cfMessage);
this.ctx.waitUntil(this.env.SEB.send(cfMessage));
} catch (e) {
throw e;
}