fix typo.
This commit is contained in:
parent
fc3287c49f
commit
d62520482a
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class ScalarAuthClient {
|
||||||
} else if (response.statusCode / 100 !== 2) {
|
} else if (response.statusCode / 100 !== 2) {
|
||||||
defer.reject({statusCode: response.statusCode});
|
defer.reject({statusCode: response.statusCode});
|
||||||
} else if (!body) {
|
} else if (!body) {
|
||||||
defer.reject(new Error("Missing page_title in response"));
|
defer.reject(new Error("Missing page title in response"));
|
||||||
} else {
|
} else {
|
||||||
let title = "";
|
let title = "";
|
||||||
if (body.page_title_cache_item && body.page_title_cache_item.cached_title) {
|
if (body.page_title_cache_item && body.page_title_cache_item.cached_title) {
|
||||||
|
|
Loading…
Reference in a new issue