responseCodeReject may not exist

This commit is contained in:
RMidhunSuresh 2022-02-04 17:39:52 +05:30
parent a163cee18d
commit f7f32ac806

View file

@ -47,7 +47,7 @@ class Request implements IHomeServerRequest {
this._requestResult.abort();
} else {
this.responseReject(new AbortError());
this.responseCodeReject(new AbortError());
this.responseCodeReject?.(new AbortError());
}
}