PINXS.Middleware.Normalize (pinxs v3.1.3) View Source
Transforms HTTP responses from Tesla in {:ok, response} / {:error, reason} tuples
The allows us to pattern match without having to also check every
request was a 2xx
response
Link to this section Summary
Functions
Callback implementation for Tesla.Middleware.call/3
.
Link to this section Functions
Callback implementation for Tesla.Middleware.call/3
.