feat: add read and delete customer form

This commit is contained in:
Riccardo
2024-07-07 23:53:22 +02:00
parent be05e065b8
commit 71daa9aa7d
4 changed files with 65 additions and 33 deletions

View File

@@ -0,0 +1,5 @@
import { NextResponse } from 'next/server';
export function createErrorResponse(message: string, status: number) {
return NextResponse.json({ success: false, message }, { status });
}