Skip to content

Commit f8adbf3

Browse files
committed
Deploy Production Code for Commit 4259b11 🚀
1 parent 4259b11 commit f8adbf3

File tree

4 files changed

+104
-84
lines changed

4 files changed

+104
-84
lines changed

lib/template.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function getSponsors(action) {
2828
? `organization (login: "${process.env.GITHUB_REPOSITORY_OWNER}")`
2929
: `viewer`} {
3030
login
31-
sponsorshipsAsMaintainer(first: 100, orderBy: {field: CREATED_AT, direction: ASC}, includePrivate: true, activeOnly: ${action.activeOnly}) {
31+
sponsorshipsAsMaintainer(first: 100, orderBy: {field: CREATED_AT, direction: ASC}, includePrivate: false, activeOnly: ${action.activeOnly}) {
3232
totalCount
3333
pageInfo {
3434
endCursor
@@ -88,7 +88,7 @@ function generateTemplate(response, action) {
8888
const sponsorshipsAsMaintainer = data === null || data === void 0 ? void 0 : data.sponsorshipsAsMaintainer;
8989
if (sponsorshipsAsMaintainer) {
9090
/* Appends the template, the API call returns all users regardless of if they are hidden or not.
91-
In an effort to respect a users decision to be anonymous we filter these users out. */
91+
In an effort to totally respect a users decision to be anonymous we filter these users out even though the `includePrivate` flag is set to `false`, just in case. */
9292
let filteredSponsors = sponsorshipsAsMaintainer.nodes.filter((user) => user.privacyLevel &&
9393
user.privacyLevel !== constants_1.PrivacyLevel.PRIVATE &&
9494
(user.tier && user.tier.monthlyPriceInCents

node_modules/micromatch/README.md

+91-78
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/micromatch/index.js

+9-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/micromatch/package.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)