import { NextRequest } from "next/server";
import { ForbiddenError } from "@/server/errors";
import { fail } from "@/server/http";

export async function POST(request: NextRequest) {
  try {
    throw new ForbiddenError("Les liens d'affiliation sont créés et configurés par l'administration.");
  } catch (error) {
    return fail(error);
  }
}
