gleam-wisp / wisp

🧚 A practical web framework for Gleam
https://gleam-wisp.github.io/wisp/
Apache License 2.0
910 stars 41 forks source link

Add 'request' param to set_cookie examples #71

Closed michaeljones closed 6 months ago

michaeljones commented 6 months ago

It seems to be necessary and it seems like the docs aren't in sync but I might be wrong.

michaeljones commented 6 months ago

I think the repsonse parameter is being piped in but set_cookie wants both the response and the request as the first two arguments?