awaiting fetch

This commit is contained in:
Khalim Conn-Kowlessar 2025-04-17 16:58:08 +01:00
parent a983c86885
commit 45551fa5db

View file

@ -56,7 +56,7 @@ export async function POST(request: NextRequest) {
body: JSON.stringify(validatedBody),
});
console.log("Plan triggered successfully %", response);
console.log("Plan triggered successfully, status: %", response.statusText);
if (!response.ok) {
console.error("Error triggering plan:", response.statusText);
return new NextResponse(