utils/github: fix sponsorships GraphQL query

This fixes the failure in our sponsorships workflow.
This commit is contained in:
Carlo Cabrera 2024-08-30 10:50:59 +08:00
parent 1d71ee8f16
commit 5897ed80d9
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -435,7 +435,7 @@ module GitHub
}
def self.sponsorships(user)
query = <<~EOS
query($user: String, $after: String) { organization(login: $user) {
query($user: String!, $after: String) { organization(login: $user) {
sponsorshipsAsMaintainer(first: 100, after: $after) {
pageInfo {
hasNextPage