mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 06:04:05 +00:00
added the link backfilling functionality
minor improvements/corrections
This commit is contained in:
@@ -20,13 +20,13 @@ const axiosInstance = axios.default.create({
|
||||
},
|
||||
});
|
||||
|
||||
axiosInstance.interceptors.request.use(request => {
|
||||
axiosInstance.interceptors.request.use(config => {
|
||||
logger.http("API call", {
|
||||
url: request.url,
|
||||
method: request.method,
|
||||
params: request.params ?? {},
|
||||
url: config.url,
|
||||
method: config.method,
|
||||
params: config.params ?? {},
|
||||
});
|
||||
return request;
|
||||
return config;
|
||||
});
|
||||
|
||||
axiosInstance.interceptors.response.use(
|
||||
|
||||
Reference in New Issue
Block a user