Skip to content

Commit 3d2216a

Browse files
committed
fix: project object optional
1 parent 11ae715 commit 3d2216a

File tree

1 file changed

+1
-1
lines changed
  • src/routes/copilotOpportunity

1 file changed

+1
-1
lines changed

src/routes/copilotOpportunity/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ module.exports = [
6767
const formattedOpportunities = copilotOpportunities.map((opportunity) => {
6868
const plainOpportunity = opportunity.get({ plain: true });
6969

70-
req.debug.info(isAdminOrManager, 'admin or manager', plainOpportunity);
70+
req.log.debug(isAdminOrManager, 'admin or manager', plainOpportunity);
7171
// For users who are not admin or manager, we dont want to expose
7272
// the project id
7373
if (!isAdminOrManager) {

0 commit comments

Comments
 (0)