participateapp / api

API backing Participate!, an app for democratic proposal-making
MIT License
1 stars 0 forks source link

Bugfix: Booleans should be atoms, not strings #33

Closed ThomasWeiser closed 7 years ago

ThomasWeiser commented 7 years ago

A JSON boolean looks like this, i.e. without quotes around true:

{ "supported-by-me": true }

Accordingly Elixir code should use the builtin atoms true and false instead of strings like "true". These atoms result in valid JSON code.