mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-22 04:11:11 +00:00
Fixing error lint. (#324)
This commit is contained in:
parent
e9928cf8b7
commit
261791dddc
1 changed files with 1 additions and 1 deletions
|
@ -1526,7 +1526,7 @@ export class LemmyHttp {
|
|||
|
||||
try {
|
||||
json = await response.json();
|
||||
} catch (error) {
|
||||
} catch (_) {
|
||||
throw new Error(response.statusText);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue