diff --git a/src/lib/swapper/utils.ts b/src/lib/swapper/utils.ts index 02de8a4fcb4..3014e1ca897 100644 --- a/src/lib/swapper/utils.ts +++ b/src/lib/swapper/utils.ts @@ -61,7 +61,7 @@ export const makeSwapperAxiosServiceMonadic = (service: AxiosInstance, swapperNa get: (trappedAxios, method: 'get' | 'post') => { const originalMethodPromise = trappedAxios[method] return async (...args: [url: string, dataOrConfig?: any, dataOrConfig?: any]) => { - getMixPanel()?.track('Swapper API request', { swapper: swapperName }) + getMixPanel()?.track('Swapper API request', { swapper: swapperName, url: args[0], method }) const result = await AsyncResultOf(originalMethodPromise(...args)) return result