Change values to int instead of "Checked" in users and libraries table

* get_users_table: allow_guest, do_notify, keep_history
* get_libraries_table: do_notify, do_notify_created, keep_history
This commit is contained in:
JonnyWong16 2022-04-12 12:43:12 -07:00
parent b0950abdd9
commit d4002b2e2b
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
5 changed files with 15 additions and 15 deletions

View file

@ -234,9 +234,9 @@ class Users(object):
'originally_available_at': item['originally_available_at'],
'guid': item['guid'],
'transcode_decision': item['transcode_decision'],
'do_notify': helpers.checked(item['do_notify']),
'keep_history': helpers.checked(item['keep_history']),
'allow_guest': helpers.checked(item['allow_guest']),
'do_notify': item['do_notify'],
'keep_history': item['keep_history'],
'allow_guest': item['allow_guest'],
'is_active': item['is_active']
}