From 460f508f79ec200e78dbf4496105fd1711818d20 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Mon, 9 Aug 2021 17:45:09 -0800 Subject: [PATCH] whitespace --- frontend/api/requests.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/api/requests.ts b/frontend/api/requests.ts index 3e9345e90..b1b60b408 100644 --- a/frontend/api/requests.ts +++ b/frontend/api/requests.ts @@ -10,9 +10,7 @@ const request = { async safe(funcCall: any, url: string, data: object = {}): Promise> { const response = await funcCall(url, data).catch(function (error: object) { console.log(error); - // Insert Generic Error Handling Here - return { response: null, error, data: null }; }); return { response, error: null, data: response.data };