Merge branch 'fix-tutorial' into 'master'
fix: Fix typo in documentation See merge request mythic-insight/legendary!91
This commit is contained in:
commit
c8c5bc3057
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