From f3710fa15393ebb171876d9a5578e49584518374 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 19 Oct 2020 10:46:44 -0300 Subject: [PATCH] check all kwargs are consumed on claim search --- lbry/service/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbry/service/api.py b/lbry/service/api.py index 86fd722e4..9b0b6b78f 100644 --- a/lbry/service/api.py +++ b/lbry/service/api.py @@ -1603,6 +1603,8 @@ class API: 'include_total': pagination['include_total'], 'order_by': order_by }) + _, kwargs = pop_kwargs("no_totals", kwargs) # deprecated, ignoring + claim_filter_dict.update(kwargs) if protobuf: return await self.service.protobuf_search_claims(**remove_nulls(claim_filter_dict)) result = await self.service.search_claims(