Skip to content

Commit

Permalink
fix(all): #123 done.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jul 17, 2023
1 parent 14fcde3 commit 899696d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core.gbapp/services/GBCoreService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ ENDPOINT_UPDATE=true
let matchingAppPackages = [];
await CollectionUtil.asyncForEach(appPackages, async appPackage => {
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) {
matchingAppPackages.push(appPackage);
}
Expand Down
4 changes: 2 additions & 2 deletions packages/core.gbapp/services/GBMinService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export class GBMinService {

// 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.

Expand Down Expand Up @@ -724,7 +724,7 @@ export class GBMinService {
access_token: min.instance.facebookWorkplaceAccessToken
});
}
// https://github.com/GeneralBots/BotServer/issues/123

min.appPackages = await this.core['getApplicationsByInstanceId'] (appPackages, min.instance.instanceId);

// Creates a hub of services available in .gbapps.
Expand Down

0 comments on commit 899696d

Please sign in to comment.