hotosm / oam-uploader-api

DEPRECIATED - The OAM Uploader API server
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

fix validation check for empty tags #77

Closed smit1678 closed 7 years ago

smit1678 commented 7 years ago

PR to change the validation check for tags. Upon testing the tags addition, validation errors were happening within the API.

"name":"ValidationError","details":[{"message":"\"tags\" is not allowed to be empty"

Changing to empty string instead of null seems to fix the validation.