Fixes to_dict/to_json for and some fixes

This commit is contained in:
Sergi Delgado Segura
2019-10-17 19:11:32 +01:00
parent 6735aac094
commit c09becd7fa
2 changed files with 10 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ def get_all_appointments():
if watcher.responder:
for uuid, job in watcher.responder.jobs.items():
responder_jobs[uuid] = job.to_json()
responder_jobs[uuid] = job.to_dict()
response = jsonify({"watcher_appointments": watcher_appointments, "responder_jobs": responder_jobs})