nkrkv / pyinsales

InSales e-commerce platform API bindings
MIT License
13 stars 16 forks source link

A minor fix to boolean value handling #26

Closed irisdreamskz closed 4 months ago

irisdreamskz commented 7 months ago

Added couple of lines to fix problems updating boolean values, particularly, is_hidden flag. Being a subtype of int, booleans are treated as integers in composing.py causing at least product endpoints to silently ignore it. Would be nice to see this fix in pypl distribution.

nkrkv commented 4 months ago

Thank you! Merged as a part of #27