import { getUploadApi } from "@/lib/server/app-services";

export async function POST(
  _request: Request,
  context: { params: Promise<{ uploadId: string }> },
) {
  const { uploadId } = await context.params;
  return getUploadApi().complete(uploadId);
}
