New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"next" branch breaks gist.el ability to edit description #75

Closed
sigma opened this Issue Jun 26, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@sigma
Owner

sigma commented Jun 26, 2016

No description provided.

@sigma sigma added this to the v1.0 milestone Jun 26, 2016

@sigma

This comment has been minimized.

Show comment
Hide comment
@sigma

sigma Jun 26, 2016

Owner

problem is in serialization. PATCH request has following body:

"{\"description\":\"minimal redis docker image with nix\",\"public\":true,\"files\":null}"

When it really needs to be:

"{\"description\":\"minimal redis docker image with nix\",\"public\":true,\"files\":{}}"

so somehow null needs to be converted to empty dict

Owner

sigma commented Jun 26, 2016

problem is in serialization. PATCH request has following body:

"{\"description\":\"minimal redis docker image with nix\",\"public\":true,\"files\":null}"

When it really needs to be:

"{\"description\":\"minimal redis docker image with nix\",\"public\":true,\"files\":{}}"

so somehow null needs to be converted to empty dict

sigma added a commit that referenced this issue Jun 26, 2016

@sigma sigma closed this Jun 26, 2016

@sigma sigma self-assigned this Jun 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment