Skip to content

Commit 11ae715

Browse files
committed
fix: project object optional
1 parent 344671c commit 11ae715

File tree

1 file changed

+2
-0
lines changed
  • src/routes/copilotOpportunity

1 file changed

+2
-0
lines changed

src/routes/copilotOpportunity/list.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ module.exports = [
6666
.then((copilotOpportunities) => {
6767
const formattedOpportunities = copilotOpportunities.map((opportunity) => {
6868
const plainOpportunity = opportunity.get({ plain: true });
69+
70+
req.debug.info(isAdminOrManager, 'admin or manager', plainOpportunity);
6971
// For users who are not admin or manager, we dont want to expose
7072
// the project id
7173
if (!isAdminOrManager) {

0 commit comments

Comments
 (0)