We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I launch sponsorkit, I get this error:
sponsorkit
TypeError: Cannot read properties of null (reading 'isOneTime') at xxx/node_modules/.pnpm/[email protected]/node_modules/sponsorkit/dist/index.cjs:478:25
Looking more into it, it seems that GitHub is returning null to the tier field now!
null
tier
query { organization(login: "MY_ORG") { sponsorshipsAsMaintainer(first: 100) { totalCount pageInfo { endCursor hasNextPage } nodes { createdAt privacyLevel tier { # <-- This field is null name isOneTime monthlyPriceInCents monthlyPriceInDollars } sponsorEntity { __typename ...on Organization { login name avatarUrl websiteUrl } ...on User { login name avatarUrl websiteUrl } } } } } }
I did check in the online https://docs.github.com/en/graphql/overview/explorer of github, and yes, I get all sponsors, but no tier information (it's null).
I don't know from when, as it was working well before 👍 Any idea of where to ask for GitHub API changes ?
Should this case of tier null be handle? (I could do a PR, but I'm not sure it's wanted... as we lose a lot of info.) Let me know
tier null
https://github.com/HoudiniGraphql/sponsors
System: OS: macOS 14.2.1 CPU: (12) arm64 Apple M3 Pro Memory: 372.11 MB / 36.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 21.2.0 - ~/.nvm/versions/node/v21.2.0/bin/node Yarn: 1.22.21 - ~/.nvm/versions/node/v21.2.0/bin/yarn npm: 10.2.3 - ~/.nvm/versions/node/v21.2.0/bin/npm pnpm: 8.10.5 - ~/Library/pnpm/pnpm bun: 1.0.12 - ~/.bun/bin/bun Browsers: Chrome: 121.0.6167.160 Safari: 17.2.1
pnpm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When I launch
sponsorkit
, I get this error:Looking more into it, it seems that GitHub is returning
null
to thetier
field now!I did check in the online https://docs.github.com/en/graphql/overview/explorer of github, and yes, I get all sponsors, but no
tier
information (it's null).I don't know from when, as it was working well before 👍
Any idea of where to ask for GitHub API changes ?
Should this case of
tier null
be handle? (I could do a PR, but I'm not sure it's wanted... as we lose a lot of info.)Let me know
Reproduction
https://github.com/HoudiniGraphql/sponsors
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: