Skip to content

Commit

Permalink
fix prettier issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chopkinsmade committed Jan 3, 2024
1 parent cf27b25 commit 627daf2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/sandbox/routes/v4/activity-feed/activity-feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,14 +348,14 @@ export const activityFeed = function (req, res) {
req.body,
"query.bool.filter.bool.should[0].bool.must[1].terms['object.attributedTo.id'][0]"
)
const activities =
company === BEST_EVER_COMPANY
? companyActivities
: company === BEST_EVER_COMPANY_2
? essInteractionsNoTitle
: dataHubAndExternalActivities

return res.json(activities)

if (company === BEST_EVER_COMPANY) {
return res.json(companyActivities)
}
if (company === BEST_EVER_COMPANY_2) {
return res.json(essInteractionsNoTitle)
}
return res.json(dataHubAndExternalActivities)
}

// ESS Interactions
Expand Down

0 comments on commit 627daf2

Please sign in to comment.