Don't need stringifyError

This commit is contained in:
Daniel Krol 2022-04-09 16:48:46 -04:00
parent 8b28bd35ff
commit 8441a49232

View file

@ -50,12 +50,6 @@ export class BackendAPIService {
return this.post(path, {...body, ...{JWT: jwt}}); 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, // When SkipForLeaderboard is true, this endpoint only returns ProfileEntryResponse, IsGraylisted, IsBlacklisted,
// IsAdmin, and IsSuperAdmin for each user. // IsAdmin, and IsSuperAdmin for each user.
// When SkipForLeaderboard is false, we also fetch the user's balance, profiles this user follows, hodlings, and // When SkipForLeaderboard is false, we also fetch the user's balance, profiles this user follows, hodlings, and