Skip to content
Snippets Groups Projects
Commit 4f00278f authored by Ajay Nishad's avatar Ajay Nishad
Browse files

fix: log format issue in http request

parent 6fc0a6d9
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ class HttpClient {
// Add response interceptor
this.client.interceptors.response.use((response: AxiosResponse) => {
// Modify the response data if needed
logger.info("Response received: %o\n", response);
logger.info("Response received: %o\n", JSON.stringify(response.data));
return response;
}, (error: any) => {
// Handle response error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment