Fixed issue while saving notifications settings

This commit is contained in:
Samuel Bartík 2023-08-15 17:10:26 +02:00 committed by GitHub
parent 262d7d2a92
commit 42ae3af4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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']))