Don't need stringifyError
This commit is contained in:
parent
8b28bd35ff
commit
8441a49232
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue