Files
pangolin/server/routers/billing/webhooks.ts
2025-10-10 11:27:15 -07:00

14 lines
397 B
TypeScript

import createHttpError from "http-errors";
import { Request, Response, NextFunction } from "express";
import HttpCode from "@server/types/HttpCode";
export async function billingWebhookHandler(
req: Request,
res: Response,
next: NextFunction
): Promise<any> {
// return not found
return next(
createHttpError(HttpCode.NOT_FOUND, "This endpoint is not in use")
);
}