mirror of
https://github.com/mudabbir-ahmad/peworkshop.git
synced 2026-10-08 03:50:21 +00:00
fixed a bit
This commit is contained in:
1 parent
9326f2845e
commit
494f42a4c3
1 file changed
+3
-4
@@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user