Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

395 B
Raw Blame
import { deleteSource } from "@/server/assist/projects";

export async function DELETE(_req: Request, ctx: RouteContext<"/api/assist/projects/[projectId]/sources/[sourceId]">) {
  const { projectId, sourceId } = await ctx.params;
  return deleteSource(projectId, sourceId) ? new Response(null, { status: 204 }) : Response.json({ error: "That source isn't in this project" }, { status: 404 });
}