Skip to content

Commit

Permalink
[Dependencies] Update axios to version 1.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarciani committed Dec 11, 2023
1 parent 93c623f commit 7c59046
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 27 deletions.
52 changes: 27 additions & 25 deletions frontend/package-lock.json

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

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@cloudscape-design/design-tokens": "^3.0.11",
"@cloudscape-design/global-styles": "^1.0.8",
"@reduxjs/toolkit": "^1.6.1",
"axios": "^0.21.4",
"axios": "^1.6.0",
"i18next": "^21.8.13",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/old-pages/Clusters/Costs/costs.queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ export function useActivateCostMonitoringMutation(
if (costExplorerCannotBeAccessed) {
onError('costExplorerCannotBeAccessed')
} else {
onError('genericError', error.response.data.message)
onError(
'genericError',
(error.response.data as {message: string}).message,
)
}
}
},
Expand Down

0 comments on commit 7c59046

Please sign in to comment.