From 2e18359dadff0d6d26710b6275c7dffb1cbefbc0 Mon Sep 17 00:00:00 2001 From: Marie Date: Sun, 15 Sep 2024 18:17:35 +0000 Subject: [PATCH] chore: lint --- packages/backend/src/server/api/endpoints/sponsors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/sponsors.ts b/packages/backend/src/server/api/endpoints/sponsors.ts index 67712ca379..06c3c0d620 100644 --- a/packages/backend/src/server/api/endpoints/sponsors.ts +++ b/packages/backend/src/server/api/endpoints/sponsors.ts @@ -41,7 +41,7 @@ export default class extends Endpoint { // eslint- const sponsorsOC = await fetch('https://opencollective.com/sharkey/tiers/sponsor/all.json').then((response) => response.json()); // Merge both together into one array and make sure it only has Active subscriptions - const allSponsors = [...backers, ...sponsorsOC].filter(sponsor => sponsor.isActive == true); + const allSponsors = [...backers, ...sponsorsOC].filter(sponsor => sponsor.isActive === true); // Remove possible duplicates totalSponsors = [...new Map(allSponsors.map(v => [v.profile, v])).values()];