Skip to content

Commit

Permalink
Merge pull request stardogventures#5 from charthop/revert-4-andrewkla…
Browse files Browse the repository at this point in the history
…tzke8990/ch23348/update-axios

Revert "[ch23348] Adds 'as const' to HTTP methods; for Axios upgrade"
  • Loading branch information
aklatzke committed Nov 1, 2021
2 parents 0399956 + 8a7aa82 commit 8591b81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class {{classname}}Resource {
{{/hasFormParams}}
let reqConfig = {
...axiosConfig,
method: '{{httpMethod}}' as const,
method: '{{httpMethod}}',
url: reqPath{{#hasQueryParams}},
params: query{{/hasQueryParams}}{{#bodyParam}},
data: {{paramName}}{{/bodyParam}}{{#hasFormParams}},
Expand Down

0 comments on commit 8591b81

Please sign in to comment.