From 38ec2b0ba9fb6d262fd761217e292590cb8f3342 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 28 Sep 2023 15:18:48 +0000 Subject: [PATCH] usar variable email --- 1687801090_sutty_initial_admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1687801090_sutty_initial_admin.js b/1687801090_sutty_initial_admin.js index db9f33e..bdfc4cb 100644 --- a/1687801090_sutty_initial_admin.js +++ b/1687801090_sutty_initial_admin.js @@ -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 (_) {