claim_id is an invertible field, not a repeated

This commit is contained in:
Victor Shyba 2021-08-13 19:09:01 -03:00 committed by Victor Shyba
parent 1c31ec66f2
commit e2798969d7

View file

@ -173,7 +173,7 @@ def paginate_list(items: List, page: Optional[int], page_size: Optional[int]):
def fix_kwargs_for_hub(**kwargs):
repeated_fields = {"media_type", "stream_type", "claim_type", "claim_id"}
repeated_fields = {"media_type", "stream_type", "claim_type"}
value_fields = {"tx_nout", "has_source", "is_signature_valid"}
opcodes = {'=': 0, '<=': 1, '>=': 2, '<': 3, '>': 4}
for key in list(kwargs.keys()):