Skip to content

Commit b4d23b9

Browse files
committed
fix: avoid exposing project details to users apart from PMs and Admins
1 parent b31d5c7 commit b4d23b9

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
@@ -76,7 +76,7 @@ module.exports = [
7676
if (!isAdminOrManager) {
7777
delete formatted.projectId;
7878
}
79-
return ;
79+
return formatted;
8080
});
8181
return util.setPaginationHeaders(req, res, {
8282
count: copilotOpportunities.count,

0 commit comments

Comments
 (0)