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