Skip to content

Commit a91394b

Browse files
authored
Merge branch 'main' into APL-846
2 parents 7128269 + 0bffae9 commit a91394b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/postman.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ jobs:
4848
ls
4949
- name: Start core server
5050
run: |
51+
export NVM_DIR="$HOME/.nvm"
52+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
5153
cd apl-core
54+
nvm install
55+
nvm use
56+
node -v
5257
npm install
5358
npm run server > $GITHUB_WORKSPACE/core.log 2>&1 &
5459
- name: Start api

src/otomi-stack.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,7 @@ export default class OtomiStack {
564564
this.filterExcludedApp(app)
565565

566566
if (teamId === 'admin') return app
567-
const adminApp = this.repoService.getTeamConfigService(teamId).getApp(id)
568-
return { ...cloneDeep(app), enabled: adminApp.enabled }
567+
return { id: app.id, enabled: app.enabled }
569568
}
570569

571570
getApp(name: string): App {

0 commit comments

Comments
 (0)