Skip to content

Commit 7c59046

Browse files
committed
[Dependencies] Update axios to version 1.6.0.
1 parent 93c623f commit 7c59046

File tree

3 files changed

+32
-27
lines changed

3 files changed

+32
-27
lines changed

frontend/package-lock.json

Lines changed: 27 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@cloudscape-design/design-tokens": "^3.0.11",
99
"@cloudscape-design/global-styles": "^1.0.8",
1010
"@reduxjs/toolkit": "^1.6.1",
11-
"axios": "^0.21.4",
11+
"axios": "^1.6.0",
1212
"i18next": "^21.8.13",
1313
"js-yaml": "^4.1.0",
1414
"lodash": "^4.17.21",

frontend/src/old-pages/Clusters/Costs/costs.queries.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ export function useActivateCostMonitoringMutation(
7878
if (costExplorerCannotBeAccessed) {
7979
onError('costExplorerCannotBeAccessed')
8080
} else {
81-
onError('genericError', error.response.data.message)
81+
onError(
82+
'genericError',
83+
(error.response.data as {message: string}).message,
84+
)
8285
}
8386
}
8487
},

0 commit comments

Comments
 (0)