Files
pangolin/server/routers/billing/webhooks.ts
2025-12-09 10:56:14 -05:00

15 lines
398 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")
);
}