feat: nudge students to complete their profile

This commit is contained in:
Jannat Patel
2026-02-26 16:59:08 +05:30
parent 6b24a23e70
commit 975f06d956
3 changed files with 67 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ def get_user_info():
user = frappe.db.get_value(
"User",
frappe.session.user,
["name", "email", "enabled", "user_image", "full_name", "user_type", "username"],
["name", "email", "enabled", "user_image", "full_name", "user_type", "username", "bio", "headline"],
as_dict=1,
)
user["roles"] = frappe.get_roles(user.name)