Skip to content

Commit

Permalink
[CodeFactor] Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed Mar 30, 2024
1 parent b151841 commit 887b4a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ router.get('/apps/:appId/reviews', function (req, res, next) {
rest.date = rest.date.split('T')[0];
return rest;
});
}
else {
} else {
reviews.data = reviews.data.map(review => {
const { url, ...rest } = review;
rest.date = rest.date.split('T')[0];
Expand Down

0 comments on commit 887b4a0

Please sign in to comment.