Skip to content

Commit 0426351

Browse files
committed
fix: only return app id and enabled for teams
1 parent 145b580 commit 0426351

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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)