Skip to content

Commit

Permalink
Fix: use simpler GraphQL query when only ID is needed.
Browse files Browse the repository at this point in the history
Will help reduce the impact of #303.
  • Loading branch information
Zimmi48 committed Jun 17, 2024
1 parent 7f42acb commit b95de99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot-components/GitHub_queries.ml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ let get_pull_request_id_and_milestone ~bot_info ~owner ~repo ~number =
None ) ) ) )

let get_pull_request_id ~bot_info ~owner ~repo ~number =
let open GitHub_GraphQL.PullRequest_ID_and_Milestone in
let open GitHub_GraphQL.PullRequest_ID in
makeVariables ~owner ~repo ~number ()
|> serializeVariables |> variablesToJson
|> send_graphql_query ~bot_info ~query
Expand Down

0 comments on commit b95de99

Please sign in to comment.