Skip to content

Commit ddfcff3

Browse files
authored
Merge pull request #313 from topcoder-platform/hotfix/PLAT-2968
fix: clean reviews
2 parents 48dbd28 + 1765a99 commit ddfcff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ function cleanseReviews (reviews, authUser) {
757757
cleansedReviews.push(review)
758758
})
759759

760-
return cleansedReviews
760+
return cleansedReviews.filter(r => r != null)
761761
}
762762
}
763763

0 commit comments

Comments
 (0)