Respond to PR comments.
This commit is contained in:
parent
78af5cdc67
commit
407484bbe5
|
@ -263,11 +263,16 @@ class Orchestrator {
|
||||||
this.context.env = await sdkUtils.getEnvironmentVariables()
|
this.context.env = await sdkUtils.getEnvironmentVariables()
|
||||||
this.context.user = this.currentUser
|
this.context.user = this.currentUser
|
||||||
|
|
||||||
const { config } = await configs.getSettingsConfigDoc()
|
try {
|
||||||
this.context.settings = {
|
const { config } = await configs.getSettingsConfigDoc()
|
||||||
url: config.platformUrl,
|
this.context.settings = {
|
||||||
logo: config.logoUrl,
|
url: config.platformUrl,
|
||||||
company: config.company,
|
logo: config.logoUrl,
|
||||||
|
company: config.company,
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
// if settings doc doesn't exist, make the settings blank
|
||||||
|
this.context.settings = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
let metadata
|
let metadata
|
||||||
|
|
Loading…
Reference in New Issue