1.1.4 - updated user modals
This commit is contained in:
@@ -12,6 +12,7 @@ export async function POST(request: Request) { // Changed to POST, similar to te
|
||||
SELECT
|
||||
national_id,
|
||||
name,
|
||||
role,
|
||||
in_shelter,
|
||||
last_updated,
|
||||
is_admin,
|
||||
@@ -29,4 +30,4 @@ export async function POST(request: Request) { // Changed to POST, similar to te
|
||||
console.error("Get users error:", error) // Error logging similar to team_users-route.ts
|
||||
return NextResponse.json({ error: "שגיאה בטעינת משתמשים" }, { status: 500 }) // Error response format similar to team_users-route.ts
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user