Skip to content

Commit

Permalink
Update Queue.to_json reference
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Jun 17, 2021
1 parent b8a53e1 commit 1d878b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webqueue2api/api/resources/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get(self, queues: str) -> tuple:
try:
queue_list = []
for queue in queues_requested:
queue_list.append(_Queue(queue).toJson())
queue_list.append(_Queue(queue).to_json())
return (queue_list, 200)
except QueueDoesNotExistError:
return ({"message": f"Queue {queue} not found."}, 404)

0 comments on commit 1d878b3

Please sign in to comment.