usar variable email
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Cat /dev/Nulo 2023-09-28 15:18:48 +00:00
parent 68c85fdea3
commit 38ec2b0ba9

View file

@ -18,7 +18,7 @@ migrate(
const dao = new Dao(db); const dao = new Dao(db);
try { try {
const admin = dao.findAdminByEmail("pocketbase@sutty.nl"); const admin = dao.findAdminByEmail(email);
dao.deleteAdmin(admin); dao.deleteAdmin(admin);
} catch (_) { } catch (_) {