1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add a missing comma

This commit is contained in:
jbranchaud
2019-03-14 16:23:31 -05:00
parent ee7ad45086
commit abe8777c32

View File

@@ -4,7 +4,7 @@ The expressions you use in a `with` construct do not have to contain the
`<-` syntax. You can pattern match and bind values along the way as well. `<-` syntax. You can pattern match and bind values along the way as well.
```elixir ```elixir
with %{id: id} <- get_user() with %{id: id} <- get_user(),
url = "/api/#{id}/blogs", url = "/api/#{id}/blogs",
%{status_code: 200, body: body} <- HTTPoison.get(url), %{status_code: 200, body: body} <- HTTPoison.get(url),
{:ok, decoded_body} <- Poison.decode(body) do {:ok, decoded_body} <- Poison.decode(body) do