// Inngest serve endpoint. Reads INNGEST_SIGNING_KEY from env automatically.
// Register all Inngest functions here; add to the functions array as they are created.
import { serve } from "inngest/next";
import { inngest } from "@/lib/inngest/client";
import { pingFunction } from "@/lib/inngest/functions/ping";

export const { GET, POST, PUT } = serve({
  client: inngest,
  functions: [pingFunction],
});
