Re #2877 Follow last_checked time improvements

This commit is contained in:
dgtlmoon
2025-01-06 16:06:26 +01:00
parent 202e47d728
commit e12ba25074
6 changed files with 42 additions and 20 deletions

View File

@@ -76,6 +76,7 @@ class Watch(Resource):
# Return without history, get that via another API call
# Properties are not returned as a JSON, so add the required props manually
watch['history_n'] = watch.history_n
# attr .last_changed will check for the last written text snapshot on change
watch['last_changed'] = watch.last_changed
watch['viewed'] = watch.viewed
return watch