Skip to content

Commit c822be3

Browse files
committed
Use the correct encoder for non-core http
1 parent e7f64e2 commit c822be3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OpenApi/Generate.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,8 @@ toRequestFunctions server effectTypes method pathUrl operation =
672672
|> Gen.Result.withDefault (Elm.string "")
673673
in
674674
{ core = Gen.Http.call_.stringBody (Elm.string "application/x-www-form-urlencoded") encoded
675-
, elmPages = Gen.BackendTask.Http.jsonBody encoded
676-
, lamderaProgramTest = Gen.Effect.Http.jsonBody encoded
675+
, elmPages = Gen.Http.call_.stringBody (Elm.string "application/x-www-form-urlencoded") encoded
676+
, lamderaProgramTest = Gen.Http.call_.stringBody (Elm.string "application/x-www-form-urlencoded") encoded
677677
}
678678
)
679679

0 commit comments

Comments
 (0)