diff --git a/app/(main)/team/[teamId]/route.js b/app/(main)/team/[teamId]/route.js index ff4e36a..a21f4a2 100644 --- a/app/(main)/team/[teamId]/route.js +++ b/app/(main)/team/[teamId]/route.js @@ -93,9 +93,8 @@ export async function PATCH(request, context) { ); } catch (error) { console.error("Team update error:", error); - return new Response( - JSON.stringify({ error: "Failed to update team" }), - { status: 500 } - ); + return new Response(JSON.stringify({ error: "Failed to update team" }), { + status: 500, + }); } }