( endpoint: string, headers?: Record<string, string>, )
| 165 | * Convenience function for DELETE requests |
| 166 | */ |
| 167 | export async function del<T = any>( |
| 168 | endpoint: string, |
| 169 | headers?: Record<string, string>, |
| 170 | ): Promise<ApiResponse<T>> { |
| 171 | return makeAuthenticatedRequest<T>(endpoint, { method: "DELETE", headers }); |
| 172 | } |
no test coverage detected