fix: Fix typo in documentation
This commit is contained in:
parent
b099ebf9c8
commit
b3467b0302
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ We also need to filter the items shown based on the current user. In inventory.e
|
||||||
```elixir
|
```elixir
|
||||||
def list_items(user_id) do
|
def list_items(user_id) do
|
||||||
Item
|
Item
|
||||||
|> where(owner_id: user_id)
|
|> where(owner_id: ^user_id)
|
||||||
|> Repo.all()
|
|> Repo.all()
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue