fix: Fix for workflows listing on addable apps (#12528)

This commit is contained in:
Devanshu Gupta 2025-04-09 17:41:58 +05:30 committed by GitHub
parent 7033b75547
commit f21fcaacbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,9 @@ export class AppBase extends BaseEntity {
@Column({ name: 'name' })
name: string;
@Column({ name: 'type' })
type: string = 'front-end';
@Column({ name: 'slug', unique: true })
slug: string;

View file

@ -45,6 +45,7 @@ export class GranularPermissionsService implements IGranularPermissionsService {
return await dbTransactionWrap(async (manager: EntityManager) => {
const apps = await manager.find(AppBase, {
where: {
type: 'front-end',
organizationId,
},
});