Skip to content

Commit a017b1d

Browse files
authored
Merge pull request #1228 from topcoder-platform/pm-1836_1
[Hot Fix]fix(PM-1836): Made project optional
2 parents b77f2eb + a0e285b commit a017b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/copilots/src/services/copilot-opportunities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function copilotOpportunityFactory(data: any): CopilotOpportunity {
2323
return {
2424
...data,
2525
...data.data,
26-
projectName: data.project.name,
26+
projectName: data.project?.name,
2727
}
2828
}
2929

0 commit comments

Comments
 (0)