Skip to content

Commit

Permalink
fix(ky): use json instead of body (fixes #84)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDark committed Oct 12, 2024
1 parent ba695ef commit 61ce165
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 61ce165

Please sign in to comment.