1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Update application.ts

This commit is contained in:
Andrew Kingston 2023-07-17 16:41:48 +01:00 committed by GitHub
parent 1a8da1c0af
commit 9271210b48

View file

@ -179,7 +179,7 @@ export const addSampleData = async (ctx: UserCtx) => {
export async function fetch(ctx: UserCtx) {
const dev = ctx.query && ctx.query.status === AppStatus.DEV
const all = ctx.query && ctx.query.status === AppStatus.ALL
let apps = (await dbCore.getAllApps({ dev, all })) as App[]
const apps = (await dbCore.getAllApps({ dev, all })) as App[]
const appIds = apps
.filter((app: any) => app.status === "development")