mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-05 17:30:48 +08:00
remove reverse method
This commit is contained in:
@@ -269,9 +269,4 @@ class UserRepository:
|
||||
if limit is not None:
|
||||
qry = qry.limit(limit)
|
||||
|
||||
users = qry.all()
|
||||
|
||||
if lte_display_name and lt_id:
|
||||
users.reverse()
|
||||
|
||||
return users
|
||||
return qry.all()
|
||||
|
||||
Reference in New Issue
Block a user