feat: add CI CD (#134)

This commit is contained in:
Dream Hunter
2024-04-16 13:35:09 +08:00
committed by GitHub
parent 2604a76ae5
commit d1e06b40cb
6 changed files with 118 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ api.post('/api/requset_send_mail_access', async (c) => {
}
try {
const { success } = await c.env.DB.prepare(
`INSERT INTO address_sender (address, enabled) VALUES (?, 0)`
`INSERT INTO address_sender (address, enabled) VALUES (?, 1)`
).bind(address).run();
if (!success) {
return c.text("Failed to request send mail access", 500)