more cleanup
This commit is contained in:
@ -60,7 +60,7 @@ class HttpClient(AuthMixin):
|
||||
def make_filter(where:dict=None, limit:int=0, skip:int=0, fields:dict=None, include:dict=None, order:list=None):
|
||||
filt = dict()
|
||||
if where is not None:
|
||||
items = [{k: v} for k, v in where.items()]
|
||||
items = [where.copy()]
|
||||
filt["where"] = {"and": items}
|
||||
if limit > 0:
|
||||
filt["limit"] = limit
|
||||
|
Reference in New Issue
Block a user