Skip to content

Commit

Permalink
fix: sending list on worker info:
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Sep 15, 2024
1 parent 95f3ecf commit 26392f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/apis/v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ def get_worker_by_id(self, worker_id):
raise e.WorkerNotFound(worker_id)
worker_details = worker.get_details(details_privilege)
hr.horde_r_setex_json(cache_name, timedelta(seconds=30), worker_details)
return worker_details, 200
return worker_details

class WorkerSingleName(WorkerSingleBase):
get_parser = reqparse.RequestParser()
Expand Down

0 comments on commit 26392f6

Please sign in to comment.