mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-01-31 03:16:42 +01:00
4b40c55512
Summary: The `is_archived` attribute on the `User` model did not explicitly come back as any particular type. The resulting JSON had the string `"0"` for what's meant to be a falsey value, but it evaluated to truthy in JS. `is_archived` now has a getter which explicitly casts it to `boolean` before being returned anywhere. Test Plan: Manually tested in dev. Reviewers: Feld0 Reviewed By: Feld0 Subscribers: #pony.fm Projects: #pony.fm Maniphest Tasks: T126 Differential Revision: https://phabricator.poniverse.net/D6 |
||
---|---|---|
.. | ||
commands | ||
config | ||
controllers | ||
database | ||
lang/en | ||
library | ||
models | ||
scripts | ||
start | ||
storage | ||
styles | ||
tests | ||
views | ||
filters.php | ||
routes.php |