Skip to content

Commit

Permalink
Fix typo in tutorial (#642)
Browse files Browse the repository at this point in the history
* Fix typo in pattern match

* Remove unused variable `e`
  • Loading branch information
jordelver authored and doomspork committed Jan 24, 2020
1 parent 37d075f commit c9c5307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/tutorial/start-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ defmodule AuthMe.UserManager.Guardian do
user = UserManager.get_user!(id)
{:ok, user}
rescue
e in Ecto.NoResultsError => {:error, :resource_not_found}
Ecto.NoResultsError -> {:error, :resource_not_found}
end
end
```
Expand Down

0 comments on commit c9c5307

Please sign in to comment.