mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-11 00:08:37 +01:00
add payment service
This commit is contained in:
6
payments/src/Utils.ts
Normal file
6
payments/src/Utils.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { Response } from "express";
|
||||
|
||||
|
||||
export function sendJson(res: Response, status: number, data: Record<string, any>): void {
|
||||
res.status(status).json(data);
|
||||
}
|
||||
Reference in New Issue
Block a user