This is an automated email from the ASF dual-hosted git repository. apucher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push: new 5e0dcff 7228 /sql REST call now compatible with auth (#7230) 5e0dcff is described below commit 5e0dcff779faa290a9d5285b039bfef2002b49a5 Author: Gaurav Joshi <68965367+joshigaur...@users.noreply.github.com> AuthorDate: Thu Jul 29 16:54:28 2021 -0700 7228 /sql REST call now compatible with auth (#7230) --- pinot-controller/src/main/resources/app/utils/axios-config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pinot-controller/src/main/resources/app/utils/axios-config.ts b/pinot-controller/src/main/resources/app/utils/axios-config.ts index 0a34237..108f62a 100644 --- a/pinot-controller/src/main/resources/app/utils/axios-config.ts +++ b/pinot-controller/src/main/resources/app/utils/axios-config.ts @@ -52,4 +52,6 @@ export const baseApi = axios.create({ baseURL: '/' }); baseApi.interceptors.request.use(handleConfig, handleError); baseApi.interceptors.response.use(handleResponse, handleError); -export const transformApi = axios.create({baseURL: '/', transformResponse: [data => data]}); \ No newline at end of file +export const transformApi = axios.create({baseURL: '/', transformResponse: [data => data]}); +transformApi.interceptors.request.use(handleConfig, handleError); +transformApi.interceptors.response.use(handleResponse, handleError); \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org