Skip to content

Commit

Permalink
Fix typo, querys -> queries
Browse files Browse the repository at this point in the history
Found via `codespell -H -S deps,cover,.git`
  • Loading branch information
kianmeng committed Nov 3, 2023
1 parent 5d7e7ed commit e3f8881
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 e3f8881

Please sign in to comment.