wip: currently rewriting the project as a full stack application tangled.org/kacaii.dev/sigo
gleam

:art: remove `()` from piped functions

+4 -4
+4 -4
src/app/web.gleam
··· 118 118 #("constraint", json.string(constraint)), 119 119 #("detail", json.string(detail)), 120 120 ]) 121 - |> json.to_string() 121 + |> json.to_string 122 122 |> wisp.json_response(500) 123 123 } 124 124 ··· 133 133 #("name", json.string(name)), 134 134 #("message", json.string(message)), 135 135 ]) 136 - |> json.to_string() 136 + |> json.to_string 137 137 |> wisp.json_response(500) 138 138 } 139 139 ··· 142 142 #("expected", json.int(expected)), 143 143 #("got", json.int(got)), 144 144 ]) 145 - |> json.to_string() 145 + |> json.to_string 146 146 |> wisp.json_response(500) 147 147 } 148 148 ··· 151 151 #("expected", json.string(expected)), 152 152 #("got", json.string(got)), 153 153 ]) 154 - |> json.to_string() 154 + |> json.to_string 155 155 |> wisp.json_response(500) 156 156 } 157 157