mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 14:14:22 +01:00
Fixes to_dict/to_json for and some fixes
This commit is contained in:
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user