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

export async function PUT(
  request: Request,
  context: {
    params: Promise<{ uploadId: string; partNumber: string }>;
  },
) {
  const { uploadId, partNumber } = await context.params;
  return getUploadApi().uploadPart(request, uploadId, partNumber);
}
