From 39f1382f6dea7780e27e7362c20ab9fa46b176c8 Mon Sep 17 00:00:00 2001 From: Simone Taeggi Date: Tue, 22 Nov 2022 19:57:17 +0100 Subject: [PATCH] change comment content --- .../core/helper-plugin/lib/src/utils/wrapAxiosInstance/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);