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
1 changed files with 1 additions and 1 deletions

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")