mirror of
https://github.com/mudabbir-ahmad/peworkshop.git
synced 2026-10-07 19:50:20 +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) {
|
} catch (error) {
|
||||||
console.error("Team update error:", error);
|
console.error("Team update error:", error);
|
||||||
return new Response(
|
return new Response(JSON.stringify({ error: "Failed to update team" }), {
|
||||||
JSON.stringify({ error: "Failed to update team" }),
|
status: 500,
|
||||||
{ status: 500 }
|
});
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user