Skip to content

Commit

Permalink
tweaks example env
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Apr 25, 2024
1 parent d5f1db2 commit 9f2c3f6
Show file tree
Hide file tree
Showing 4 changed files with 583 additions and 260 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
}
}
7 changes: 4 additions & 3 deletions examples/api/customAttributes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const axios = require("axios");
const yn = require("yn");
const {CANON_CONST_BASE} = process.env;
const {CANON_CONST_BASE, CANON_CMS_CUBES} = process.env;
const verbose = yn(process.env.CANON_CMS_LOGGING);
const BASE_API = `${CANON_CONST_BASE}data.jsonrecords`;

Expand Down Expand Up @@ -37,7 +37,8 @@ module.exports = function(app) {
isNationOrDepartment,
isNationOrProvince,
isNationOrDepartmentOrProvince,
isDepartmentOrProvince
isDepartmentOrProvince,
tesseract: CANON_CMS_CUBES
});

case 3:
Expand Down Expand Up @@ -190,7 +191,7 @@ module.exports = function(app) {
});

default:
return res.json({});
return res.json({tesseract: CANON_CMS_CUBES});
}
});
};
Binary file added examples/static/images/transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9f2c3f6

Please sign in to comment.