Skip to content

Commit

Permalink
Merge pull request #85 from raydak-labs/fix/issue84
Browse files Browse the repository at this point in the history
fix(ky): use json instead of body (fixes #84)
  • Loading branch information
BlackDark authored Oct 12, 2024
2 parents ba695ef + 61ce165 commit 581736d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
34 changes: 24 additions & 10 deletions src/__generated__/ky-client.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/custom-formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const manageCf = async (
createCFs++;
}
} catch (err: any) {
logger.error(err.response.data?.message, `Failed updating CF ${tr.requestConfig.name}`);
logger.error(err.response.data, `Failed updating CF ${tr.requestConfig.name}`);
throw new Error(`Failed creating CF '${tr.requestConfig.name}'. Message: ${err.response.data?.message}`);
}
}
Expand Down

0 comments on commit 581736d

Please sign in to comment.