Skip to content

Commit 6f5268a

Browse files
authored
Fix issue with default value for pymongo (#955)
1 parent 4206ea0 commit 6f5268a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fastapi_pagination/ext/pymongo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def paginate(
2828
params, raw_params = verify_params(params, "limit-offset")
2929

3030
query_filter = query_filter or {}
31-
filter_fields = filter_fields or {}
3231

3332
total = collection.count_documents(query_filter) if raw_params.include_total else None
3433
cursor = collection.find(

0 commit comments

Comments
 (0)