🧚 A practical web framework for Gleam

Add 'request' param to set_cookie examples

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

authored by

Michael Jones and committed by
Louis Pilfold
a824bd82 3e81b21a

+2 -2
+2 -2
src/wisp.gleam
··· 1747 1747 /// 1748 1748 /// ```gleam 1749 1749 /// wisp.ok() 1750 - /// |> wisp.set_cookie("id", "123", wisp.PlainText, 60 * 60) 1750 + /// |> wisp.set_cookie(request, "id", "123", wisp.PlainText, 60 * 60) 1751 1751 /// ``` 1752 1752 /// 1753 1753 /// Setting a signed cookie that the client can read but not modify: 1754 1754 /// 1755 1755 /// ```gleam 1756 1756 /// wisp.ok() 1757 - /// |> wisp.set_cookie("id", value, wisp.Signed, 60 * 60) 1757 + /// |> wisp.set_cookie(request, "id", value, wisp.Signed, 60 * 60) 1758 1758 /// ``` 1759 1759 /// 1760 1760 pub fn set_cookie(