Skip to content

Commit

Permalink
Merge pull request #697 from bmuller/bmuller-patch-2
Browse files Browse the repository at this point in the history
Fix typo in docs for `on_load/2` resolution helper
  • Loading branch information
binaryseed authored Apr 5, 2019
2 parents e7e5348 + 500e50d commit 37c43d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/absinthe/resolution/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ defmodule Absinthe.Resolution.Helpers do
reports =
loader
|> Dataloader.get(SourceName, :automatic_reports, shipment)
|> Enum.concat(Dataloader.load(loader, SourceName, :manual_reports, shipment))
|> Enum.concat(Dataloader.get(loader, SourceName, :manual_reports, shipment))
|> Enum.sort_by(&reported_at/1)
{:ok, reports}
end)
Expand Down

0 comments on commit 37c43d3

Please sign in to comment.