response for unregistered user without context

This commit is contained in:
peintnermax
2024-08-02 09:00:30 +02:00
parent 2101d651f5
commit f2756dcd20

View File

@@ -127,6 +127,11 @@ export async function POST(request: NextRequest) {
});
}
return NextResponse.json(
{ message: "Could not find user" },
{ status: 404 },
);
} else {
return NextResponse.json(
{ message: "Could not find user" },
{ status: 404 },