fix(all): #123 done.
This commit is contained in:
parent
14fcde3622
commit
899696d7e5
2 changed files with 3 additions and 3 deletions
|
@ -408,7 +408,7 @@ ENDPOINT_UPDATE=true
|
||||||
let matchingAppPackages = [];
|
let matchingAppPackages = [];
|
||||||
await CollectionUtil.asyncForEach(appPackages, async appPackage => {
|
await CollectionUtil.asyncForEach(appPackages, async appPackage => {
|
||||||
const filenameOnly = Path.basename(appPackage.name);
|
const filenameOnly = Path.basename(appPackage.name);
|
||||||
const matchedApp = apps.find(app => app.name === filenameOnly || app.name === filenameOnly);
|
const matchedApp = apps.find(app => app.name === filenameOnly);
|
||||||
if (matchedApp) {
|
if (matchedApp) {
|
||||||
matchingAppPackages.push(appPackage);
|
matchingAppPackages.push(appPackage);
|
||||||
}
|
}
|
||||||
|
|
|
@ -366,7 +366,7 @@ export class GBMinService {
|
||||||
|
|
||||||
// Calls the loadBot context.activity for all packages.
|
// Calls the loadBot context.activity for all packages.
|
||||||
|
|
||||||
await this.invokeLoadBot(GBServer.globals.appPackages, GBServer.globals.sysPackages, min);
|
await this.invokeLoadBot(min.appPackages, GBServer.globals.sysPackages, min);
|
||||||
|
|
||||||
// Serves individual URL for each bot conversational interface.
|
// Serves individual URL for each bot conversational interface.
|
||||||
|
|
||||||
|
@ -724,7 +724,7 @@ export class GBMinService {
|
||||||
access_token: min.instance.facebookWorkplaceAccessToken
|
access_token: min.instance.facebookWorkplaceAccessToken
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// https://github.com/GeneralBots/BotServer/issues/123
|
|
||||||
min.appPackages = await this.core['getApplicationsByInstanceId'] (appPackages, min.instance.instanceId);
|
min.appPackages = await this.core['getApplicationsByInstanceId'] (appPackages, min.instance.instanceId);
|
||||||
|
|
||||||
// Creates a hub of services available in .gbapps.
|
// Creates a hub of services available in .gbapps.
|
||||||
|
|
Loading…
Add table
Reference in a new issue