Skip to content

Commit

Permalink
Update to v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kid1194 committed Sep 26, 2022
1 parent a21e536 commit 99119ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions active_users/api/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ def get_users():
data = frappe.get_all(
"User",
fields=["name", "full_name", "user_image"],
filters={
"enabled": 1,
"user_type": ["in", user_type],
"last_active": ["between", [start, end]],
},
filters=[
["enabled", "=", 1],
["user_type", "in", user_type],
["last_active", "between", [start, end]],
],
order_by="full_name asc",
limit_page_length=0,
)
Expand Down

0 comments on commit 99119ab

Please sign in to comment.