mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 13:37:59 +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 |
||
---|---|---|
.. | ||
Album.php | ||
Comment.php | ||
Favourite.php | ||
Follower.php | ||
Genre.php | ||
Image.php | ||
License.php | ||
News.php | ||
PinnedPlaylist.php | ||
Playlist.php | ||
ProfileRequest.php | ||
ResourceLogItem.php | ||
ResourceUser.php | ||
ShowSong.php | ||
Track.php | ||
TrackFile.php | ||
TrackType.php | ||
User.php |