Skip to content

Commit

Permalink
Hide response.async field
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Mar 4, 2024
1 parent d2a6090 commit 623433a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/req/response.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ defmodule Req.Response do
private: map()
}

@derive {Inspect, except: [:async]}

defstruct status: 200,
headers: if(Req.MixProject.legacy_headers_as_lists?(), do: [], else: %{}),
body: "",
Expand Down

0 comments on commit 623433a

Please sign in to comment.