mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
responseCodeReject may not exist
This commit is contained in:
parent
a163cee18d
commit
f7f32ac806
@ -47,7 +47,7 @@ class Request implements IHomeServerRequest {
|
||||
this._requestResult.abort();
|
||||
} else {
|
||||
this.responseReject(new AbortError());
|
||||
this.responseCodeReject(new AbortError());
|
||||
this.responseCodeReject?.(new AbortError());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user