Skip to content

Commit d830926

Browse files
authored
Clean up whitespace in update_cart function
1 parent 0d9e85e commit d830926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/data_modelling/cross_context_boundaries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ Head back over to your shopping cart context in `lib/hello/shopping_cart.ex` and
544544
```elixir
545545
def update_cart(%Scope{} = scope, %Cart{} = cart, attrs) do
546546
true = cart.user_id == scope.user.id
547-
547+
548548
changeset =
549549
cart
550550
|> Cart.changeset(attrs, scope)
@@ -560,7 +560,7 @@ Head back over to your shopping cart context in `lib/hello/shopping_cart.ex` and
560560
{:ok, cart} ->
561561
broadcast_cart(scope, {:updated, cart})
562562
{:ok, cart}
563-
563+
564564
{:error, reason} ->
565565
{:error, reason}
566566
end

0 commit comments

Comments
 (0)