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,8 +1,8 @@
import axios from 'axios';
import { cloudServerUrl } from '../../Utils.js';
import { cloudServerUrl, serverAppId } from '../../Utils.js';
export default async function getDrive(request) {
const serverUrl = cloudServerUrl; //process.env.SERVER_URL;
const appId = process.env.APP_ID;
const appId = serverAppId;
const limit = request.params.limit;
const skip = request.params.skip;
const docId = request.params.docId;