Skip to content

Commit

Permalink
roc format
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewilliamboswell committed Nov 22, 2023
1 parent a000bb9 commit 349933b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/webserver/Http.roc
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ logRequest = \req ->

readUrlEnv : Str -> Task Str AppError
readUrlEnv = \target ->
Env.var target
Env.var target
|> Task.mapErr \_ -> EnvURLNotFound

fetchContent : Str -> Task Str AppError
fetchContent = \url ->
Http.getUtf8 url
|> Task.mapErr \err -> (HttpError err)
Http.getUtf8 url
|> Task.mapErr \err -> HttpError err

handleErr : AppError -> Task Response []
handleErr = \err ->
Expand Down

0 comments on commit 349933b

Please sign in to comment.