Skip to content

Commit

Permalink
Deploy Production Code for Commit 4259b11 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Sep 1, 2024
1 parent 4259b11 commit f8adbf3
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 84 deletions.
4 changes: 2 additions & 2 deletions lib/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function getSponsors(action) {
? `organization (login: "${process.env.GITHUB_REPOSITORY_OWNER}")`
: `viewer`} {
login
sponsorshipsAsMaintainer(first: 100, orderBy: {field: CREATED_AT, direction: ASC}, includePrivate: true, activeOnly: ${action.activeOnly}) {
sponsorshipsAsMaintainer(first: 100, orderBy: {field: CREATED_AT, direction: ASC}, includePrivate: false, activeOnly: ${action.activeOnly}) {
totalCount
pageInfo {
endCursor
Expand Down Expand Up @@ -88,7 +88,7 @@ function generateTemplate(response, action) {
const sponsorshipsAsMaintainer = data === null || data === void 0 ? void 0 : data.sponsorshipsAsMaintainer;
if (sponsorshipsAsMaintainer) {
/* Appends the template, the API call returns all users regardless of if they are hidden or not.
In an effort to respect a users decision to be anonymous we filter these users out. */
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. */
let filteredSponsors = sponsorshipsAsMaintainer.nodes.filter((user) => user.privacyLevel &&
user.privacyLevel !== constants_1.PrivacyLevel.PRIVATE &&
(user.tier && user.tier.monthlyPriceInCents
Expand Down
169 changes: 91 additions & 78 deletions node_modules/micromatch/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions node_modules/micromatch/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions node_modules/micromatch/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8adbf3

Please sign in to comment.