Skip to content

Commit 95a8102

Browse files
chore: code formatting
1 parent eda51ed commit 95a8102

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/plugins/sponsors/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default async function({login, q, imports, data, graphql, queries, accoun
2323
const active = new Set(list.map(({login}) => login))
2424
const {[account]:{sponsorsActivities:{nodes:events}}} = await graphql(queries.sponsors.all({login, account}))
2525
console.log(JSON.stringify(await graphql(queries.sponsors.all({login, account})), null, 2))
26-
const users = events.map(({sponsor:{login, avatarUrl}, sponsorsTier}) => ({login, avatarUrl, amount:sponsorsTier?.monthlyPriceInDollars ?? null, past:true}))
26+
const users = events.map(({sponsor:{login, avatarUrl}, sponsorsTier}) => ({login, avatarUrl, amount:sponsorsTier?.monthlyPriceInDollars ?? null, past:true}))
2727
for (const user of users) {
2828
if (!active.has(user.login)) {
2929
active.add(user.login)

tests/mocks/api/github/graphql/sponsors.all.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ export default function({ faker, query, login = faker.internet.userName() }) {
1616
},
1717
},
1818
})
19-
}
19+
}

0 commit comments

Comments
 (0)