From 8441a49232e15d2f5e3832375d98adee8d1b5e81 Mon Sep 17 00:00:00 2001 From: Daniel Krol Date: Sat, 9 Apr 2022 16:48:46 -0400 Subject: [PATCH] Don't need stringifyError --- src/app/backend-api.service.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/app/backend-api.service.ts b/src/app/backend-api.service.ts index b4ebd20..03803cd 100644 --- a/src/app/backend-api.service.ts +++ b/src/app/backend-api.service.ts @@ -50,12 +50,6 @@ export class BackendAPIService { return this.post(path, {...body, ...{JWT: jwt}}); } - // Error parsing - stringifyError(err: any): string { - return err?.error?.error || JSON.stringify(err); - } - - // When SkipForLeaderboard is true, this endpoint only returns ProfileEntryResponse, IsGraylisted, IsBlacklisted, // IsAdmin, and IsSuperAdmin for each user. // When SkipForLeaderboard is false, we also fetch the user's balance, profiles this user follows, hodlings, and