Skip to content

Commit

Permalink
fix documentation typo (#604)
Browse files Browse the repository at this point in the history
Prior to this commit, the explanatory text about the async middleware
mispelled `reason` as `reasoon`.
  • Loading branch information
jeffweiss authored and benwilson512 committed Sep 6, 2018
1 parent 3d7e7f9 commit aea8e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/absinthe/middleware/async.ex
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ defmodule Absinthe.Middleware.Async do
# we handle the different tuple results.
#
# The `put_result` function handles setting the appropriate state.
# If the result is an `{:ok, value} | {:error, reasoon}` tuple it will set
# If the result is an `{:ok, value} | {:error, reason}` tuple it will set
# the state to `:resolved`, and if it is another middleware tuple it will
# set the state to unresolved.
def call(%{state: :suspended} = res, {task, opts}) do
Expand Down

0 comments on commit aea8e90

Please sign in to comment.