Skip to content

Commit

Permalink
bug: fix jobs routes
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack authored and slint committed May 14, 2024
1 parent d225bae commit 9035f06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions invenio_jobs/resources/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ def create_url_rules(self):
"""Create the URL rules for runs resource."""
routes = self.config.routes
url_rules = [
route("GET", routes["runs"], self.search),
route("POST", routes["runs"], self.create),
route("DELETE", routes["run_item"], self.delete),
route("GET", routes["logs"], self.logs),
route("GET", routes["list"], self.search),
route("POST", routes["item"], self.create),
route("DELETE", routes["item"], self.delete),
route("GET", routes["logs_list"], self.logs),
]

return url_rules
Expand Down

0 comments on commit 9035f06

Please sign in to comment.