mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Return here, else we'll call resolve too
This commit is contained in:
parent
4fc311da90
commit
e4ea00ca23
@ -193,6 +193,7 @@ function getConfig() {
|
||||
(err, response, body) => {
|
||||
if (err || response.status < 200 || response.status >= 300) {
|
||||
deferred.reject({err: err, response: response});
|
||||
return;
|
||||
}
|
||||
|
||||
deferred.resolve(body);
|
||||
|
Loading…
Reference in New Issue
Block a user