Add timestamp to output

This commit is contained in:
Antonio J. Delgado 2024-12-19 08:33:51 +02:00
parent fa78afd7ed
commit 64970a6c82

View file

@ -346,6 +346,8 @@ class NextcloudHandler:
return obj
def _output(self, obj, unsafe=False):
if 'timestamp' not in obj:
obj['timestamp'] = time.time()
if unsafe:
out_obj = obj
else: