unioslo / mreg-cli

Command Line Interface for Mreg
GNU General Public License v3.0
2 stars 7 forks source link

Strip None values when sending JSON #249

Closed pederhan closed 5 months ago

pederhan commented 5 months ago

The API is unable to handle None values in request data. Requests removes form data with None values, but the same doesn't happen automatically for JSON, so we have to do it ourselves.