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,6 +1,6 @@
import axios from 'axios';
import { cloudServerUrl } from '../../Utils.js';
const appId = process.env.APP_ID;
import { cloudServerUrl, serverAppId } from '../../Utils.js';
const appId = serverAppId;
const masterkey = process.env.MASTER_KEY;
export default async function createBatchContact(req) {
if (!req?.user) {