Some changes
This commit is contained in:
1 parent
6be5cfb974
commit
aaedf3a71d
1 file changed
+1
-1
@@ -123,7 +123,7 @@ export async function POST(request: Request) {
|
|||||||
if (!res.success) {
|
if (!res.success) {
|
||||||
return NextResponse.json(
|
return NextResponse.json(
|
||||||
{ message: res.error },
|
{ message: res.error },
|
||||||
{ status: res.status } // ALERT-TODO Implement!!!
|
{ status: res.status | 500 } // ALERT-TODO Implement!!!
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user