Update api.py

This commit is contained in:
Alexandrina-Kuzeleva
2025-11-28 10:50:48 +03:00
parent 5499a86854
commit c6ad6b495c

View File

@@ -474,7 +474,7 @@ def get_all_users():
users = frappe.get_all( users = frappe.get_all(
"User", "User",
{"enabled": 1}, {"enabled": 1},
["name", "full_name", "user_image", "email"] ["name", "full_name", "user_image", "email", "username"]
) )
for user in users: for user in users: