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 Oct 4, 2022
1 parent 99119ab commit 2c153ca
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 2c153ca

Please sign in to comment.