Skip to content

Commit 706383a

Browse files
authored
Merge pull request #1227 from topcoder-platform/pm-1836
fix(PM-1836): project object optional
2 parents 5f03e7a + 2369279 commit 706383a

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)