usar variable email
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
68c85fdea3
commit
38ec2b0ba9
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ migrate(
|
|||
const dao = new Dao(db);
|
||||
|
||||
try {
|
||||
const admin = dao.findAdminByEmail("pocketbase@sutty.nl");
|
||||
const admin = dao.findAdminByEmail(email);
|
||||
|
||||
dao.deleteAdmin(admin);
|
||||
} catch (_) {
|
||||
|
|
Loading…
Reference in a new issue