Skip to content

Commit

Permalink
Fix http-api MatrixError httpStatus vs http_status (#2396)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored May 24, 2022
1 parent db4a6fa commit 81a6e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export class MatrixHttpApi {
resp = bodyParser(resp);
}
} catch (err) {
err.http_status = xhr.status;
err.httpStatus = xhr.status;
cb(err);
return;
}
Expand Down

0 comments on commit 81a6e48

Please sign in to comment.