diff --git a/packages/core/helper-plugin/lib/src/utils/wrapAxiosInstance/index.js b/packages/core/helper-plugin/lib/src/utils/wrapAxiosInstance/index.js index df2f7cf199..3770d8486e 100644 --- a/packages/core/helper-plugin/lib/src/utils/wrapAxiosInstance/index.js +++ b/packages/core/helper-plugin/lib/src/utils/wrapAxiosInstance/index.js @@ -5,7 +5,7 @@ function wrapAxiosInstance(instance) { (methodName) => { wrapper[methodName] = (...args) => { console.log( - 'Deprecation warning: Usage of "axiosInstance" utility is deprecated and will be removed in the next major release. Instead, use the useFetchClient() hook, which is exported from the helper-plugin: { useFetchClient } from "@strapi/helper-plugin"' + 'Deprecation warning: Usage of "axiosInstance" utility is deprecated and will be removed in the next major release. Instead, use the useFetchClient() hook, which is exported from the admin: { useFetchClient } from "@strapi/helper-plugin"' ); return instance[methodName](...args);