openstax / accounts

OpenStax centralized authentication and accounts service

Home Page:https://accounts.openstax.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edits stored as blank strings instead of null values

mmulich opened this issue · comments

I'm getting blank strings for user profile values when editing using the profile page. Prior to my edits, the values were 'null (and didn't show in the response json), now they are "". For consistency, could we put the values in the database as null or do a check for an empty string before delivering the response data?