mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Settings Site
This commit is contained in:
@@ -30,7 +30,7 @@ export async function POST(request: NextRequest) {
|
||||
return NextResponse.json({ error: "User not found" }, { status: 404 });
|
||||
}
|
||||
|
||||
return NextResponse.json({ message: "Valid", username: user.username, name: user.name }, { status: 200 });
|
||||
return NextResponse.json({ message: "Valid", username: user.username, name: user.name, email: user.email }, { status: 200 });
|
||||
|
||||
} catch (error: any) {
|
||||
return NextResponse.json({ error: "Internal Server Error" }, { status: 500 });
|
||||
|
||||
Reference in New Issue
Block a user