Moving return to else.

This commit is contained in:
Dessalines 2023-05-29 19:08:47 -04:00
parent c5fb4b559e
commit c0281d32d8

View file

@ -1316,8 +1316,9 @@ export class LemmyHttp {
if (!response.ok) {
throw json["error"] ?? response.statusText;
} else {
return json;
}
return json;
}
}