Skip to content

Commit

Permalink
Merge pull request #287 from kianmeng/fix-typo
Browse files Browse the repository at this point in the history
Fix typo, querys -> queries
  • Loading branch information
benwilson512 authored Nov 3, 2023
2 parents 5d7e7ed + e3f8881 commit 79edb60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/absinthe/plug/batch/runner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ defmodule Absinthe.Plug.Batch.Runner do
{:ok, bp, _query, _index} -> bp
end)

querys_and_indices =
queries_and_indices =
Enum.map(valid_queries, fn
{:ok, _bp, query, index} -> {query, index}
end)

blueprints
|> Absinthe.Pipeline.BatchResolver.run(schema: schema)
|> Enum.zip(querys_and_indices)
|> Enum.zip(queries_and_indices)
|> Enum.map(fn {bp, {query, i}} ->
{i, build_result(bp, query)}
end)
Expand Down

0 comments on commit 79edb60

Please sign in to comment.