(config: any)
| 1739 | |
| 1740 | // Axios |
| 1741 | const secureAxiosWrapper = async (config: any) => { |
| 1742 | return await secureAxiosRequest(config) |
| 1743 | } |
| 1744 | secureAxiosWrapper.get = async (url: string, config: any = {}) => secureAxiosWrapper({ ...config, method: 'GET', url }) |
| 1745 | secureAxiosWrapper.post = async (url: string, data: any, config: any = {}) => |
| 1746 | secureAxiosWrapper({ ...config, method: 'POST', url, data }) |
no test coverage detected