feat: allow admins to bind member phone numbers
Members page previously only displayed phone status; add bind/replace UI and admin member update phone support for login and sync identity.
This commit is contained in:
@@ -1557,7 +1557,7 @@ export async function bindPhone(
|
||||
export async function updateMember(
|
||||
session: Session,
|
||||
id: number,
|
||||
body: { role?: string; org_unit_id?: number; status?: string }
|
||||
body: { role?: string; org_unit_id?: number; status?: string; phone?: string }
|
||||
) {
|
||||
const res = await apiFetch(`/api/v1/admin/members/${id}`, {
|
||||
method: "PUT",
|
||||
|
||||
Reference in New Issue
Block a user