Fixed issue while saving notifications settings

pull/2234/head v1.2.5-beta.15
Samuel Bartík 1 year ago committed by GitHub
parent 262d7d2a92
commit 42ae3af4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -108,7 +108,7 @@ class SystemSettings(Resource):
item = json.loads(item)
database.execute(
update(TableSettingsNotifier).values(
enabled=item['enabled'],
enabled=int(item['enabled'] == True),
url=item['url'])
.where(TableSettingsNotifier.name == item['name']))

Loading…
Cancel
Save