"feat: refactor API handlers to use services, add logging, and improve security checks"

This commit is contained in:
louiscklaw
2025-06-04 02:35:05 +08:00
parent ef0c0ab389
commit 99239c32a5
20 changed files with 303 additions and 42 deletions

View File

@@ -25,6 +25,7 @@ export async function POST(req: NextRequest) {
const { data } = await req.json();
try {
// TODO: obsolete createNewAppLog
const createResult = await createNewAppLog(data);
return response(createResult, STATUS.OK);