fix: Fix typo in documentation

This commit is contained in:
Robert Prehn 2021-07-20 09:55:58 -05:00
parent b099ebf9c8
commit b3467b0302

View file

@ -301,7 +301,7 @@ We also need to filter the items shown based on the current user. In inventory.e
```elixir
def list_items(user_id) do
Item
|> where(owner_id: user_id)
|> where(owner_id: ^user_id)
|> Repo.all()
end
```