From b29374bf01a1b66a14c3bb413aab9c7c96c9561b Mon Sep 17 00:00:00 2001 From: philc Date: Tue, 20 Feb 2024 15:20:01 +0100 Subject: [PATCH] clean --- models/Pagans.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Pagans.js b/models/Pagans.js index c751324..9035334 100644 --- a/models/Pagans.js +++ b/models/Pagans.js @@ -126,7 +126,7 @@ Pagans.sendmailkey = (data) => { let tplfile=`../../nationchains/tribes/${data.tribe}/template/createidentity_${data.lg}.js`; - if (!fs.existsSync(tpfile)){ + if (!fs.existsSync(tplfile)){ tplfile=`../../nationchains/tribes/adminapi/template/createidentity_${data.lg}.js`; if (!fs.existsSync(tplfile)){ return {