From 5897ed80d96b9052c308e9e21057d56d6823d2b2 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:50:59 +0800 Subject: [PATCH] utils/github: fix sponsorships GraphQL query This fixes the failure in our sponsorships workflow. --- Library/Homebrew/utils/github.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index ca64c4741cbbb..71676c88ca445 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -435,7 +435,7 @@ def self.members_by_team(org, team) } 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