check all kwargs are consumed on claim search

This commit is contained in:
Victor Shyba 2020-10-19 10:46:44 -03:00 committed by Lex Berezhny
parent 2b62330980
commit f3710fa153

View file

@ -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(