Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 01:19:57 +00:00
co-authored by renee-png
parent 245a0dc28f
commit c15911e8ca
2 changed files with 3 additions and 3 deletions
@@ -46,7 +46,7 @@ Deno.serve(async (req) => {
}
const { user_id, role } = (await req.json()) as { user_id: string; role: Role };
if (!user_id || !["admin", "attorney", "staff"].includes(role)) {
if (!user_id || !["admin", "attorney", "paralegal", "legal_clerk", "staff"].includes(role)) {
return new Response(JSON.stringify({ error: "Invalid input" }), {
status: 400,
headers: { ...corsHeaders, "Content-Type": "application/json" },