Removed app structure from the core

This commit is contained in:
2026-01-03 19:07:54 +01:00
parent 7e5289ae22
commit 6da3c1a0be
6 changed files with 4 additions and 335 deletions
+2 -3
View File
@@ -2,7 +2,6 @@ import { NextRequest, NextResponse } from "next/server";
import testAuth from "../auth";
import { StatusCodes } from "http-status-codes";
import { deployApp, getDeployments } from "@/core/deployment";
import { getApplications } from "@/core/application";
export async function GET(req: NextRequest): Promise<NextResponse> {
const auth = await testAuth(req);
@@ -14,9 +13,9 @@ export async function GET(req: NextRequest): Promise<NextResponse> {
);
}
const apps = await getApplications();
// const apps = await getApplications();
const applications = await getDeployments(apps);
const applications = await getDeployments([]);
return NextResponse.json({
message: "ok",