Merge pull request #917 from nxglabs/handle_appid

fix: handle undefine appId
This commit is contained in:
prafull-opensignlabs
2025-06-30 07:37:32 +00:00
parent 7204183542
commit 7930a8f439
16 changed files with 36 additions and 31 deletions
@@ -1,7 +1,7 @@
import axios from 'axios';
import { cloudServerUrl, mailTemplate, replaceMailVaribles } from '../../Utils.js';
import { cloudServerUrl, mailTemplate, replaceMailVaribles, serverAppId } from '../../Utils.js';
const serverUrl = cloudServerUrl; //process.env.SERVER_URL;
const appId = process.env.APP_ID;
const appId = serverAppId;
async function deductcount(docsCount, extUserId) {
try {
const extCls = new Parse.Object('contracts_Users');