This commit is contained in:
2024-02-20 15:14:58 +01:00
parent 6a73ff858d
commit 1ea48d0933

View File

@@ -126,9 +126,9 @@ Pagans.sendmailkey = (data) => {
let tplfile=`../../nationchains/tribes/${data.tribe}/template/createidentity_${data.lg}.js`;
if (!existsSync(tpfile)){
if (!fs.existsSync(tpfile)){
tplfile=`../../nationchains/tribes/adminapi/template/createidentity_${data.lg}.js`;
if (!existsSync(tplfile)){
if (!fs.existsSync(tplfile)){
return {
status:406,
ref:"Pagans",