Skip to content

Commit b8915b3

Browse files
committed
PM-5499 - prioritize competition country
1 parent 9436c67 commit b8915b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/api/project-showcase-post/project-showcase-post.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,9 @@ export class ProjectShowcasePostService {
638638
const memberCountry = new Map<string, string>();
639639
for (const member of members) {
640640
const country =
641+
member.competitionCountryCode ||
641642
member.country ||
642-
member.homeCountryCode ||
643-
member.competitionCountryCode;
643+
member.homeCountryCode;
644644
if (country) {
645645
memberCountry.set(String(member.userId), country);
646646
}

0 commit comments

Comments
 (0)