We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e41228 commit 254b635Copy full SHA for 254b635
src/routes/projectReports/getEmbedReport.js
@@ -13,7 +13,7 @@ module.exports = [
13
permissions('projectReporting.managers'),
14
async (req, res, next) => {
15
const projectId = Number(req.params.projectId);
16
- const reportName = config.lookerConfig.USE_MOCK ? 'mock' : req.query.reportName;
+ const reportName = config.lookerConfig.USE_MOCK === 'true' ? 'mock' : req.query.reportName;
17
const authUser = req.authUser;
18
19
try {
0 commit comments