Skip to content

Commit 021149b

Browse files
committed
lint
1 parent 7c6a70d commit 021149b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RESTController.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ const RESTController = {
317317
// Transform the error into an instance of ParseError by trying to parse
318318
// the error string as JSON
319319
let error;
320-
if (errorJSON.code || errorJSON.error|| errorJSON.message) {
321-
error = new ParseError(errorJSON.code, errorJSON.error|| errorJSON.message);
320+
if (errorJSON.code || errorJSON.error || errorJSON.message) {
321+
error = new ParseError(errorJSON.code, errorJSON.error || errorJSON.message);
322322
} else {
323323
error = new ParseError(
324324
ParseError.CONNECTION_FAILED,

0 commit comments

Comments
 (0)