Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: body option must be cast to any
Browse files Browse the repository at this point in the history
aleclarson committed Mar 5, 2024
1 parent b3310ef commit 8ceddad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/base/http-clients/ky-http-client.ejs
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ export class HttpClient<SecurityDataType = unknown> {
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
},
searchParams: query,
body,
body: body as any,
});

<% if (config.unwrapResponseData) { %>

0 comments on commit 8ceddad

Please sign in to comment.