Trigger write index after edit of a watch

This commit is contained in:
Leigh Morresi
2021-01-31 20:07:10 +01:00
parent 81534d9367
commit 86f2f54abe
2 changed files with 2 additions and 1 deletions

View File

@@ -235,7 +235,7 @@ def api_update():
datastore.data['watching'][uuid].update({'url': url,
'tag': tag,
'headers':extra_headers})
datastore.needs_write = True
messages.append({'class': 'ok', 'message': 'Updated watch.'})