Add missing return statement

Fixes the bug introduced in 2b4476a. An arrow function was changed from
a simple one-line with implicit return to one with a complex body (no
implicit return).

Bug: Issue 9770
Change-Id: I04dd4de0250719fed2bff826f3a8b521a428523c
This commit is contained in:
Kasper Nilsson
2018-09-26 10:37:41 -07:00
parent 3a73e35dae
commit f8237b956f

View File

@@ -252,7 +252,7 @@
this.$.restAPI.getConfig()
.then(config => {
this._retrieveRegisterURL(config);
this.getDocsBaseUrl(config, this.$.restAPI);
return this.getDocsBaseUrl(config, this.$.restAPI);
})
.then(docBaseUrl => { this._docBaseUrl = docBaseUrl; });
},