mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 04:54:18 +00:00
Add slash to folder api calls
This commit is contained in:
parent
2678dc66c6
commit
cf678d73b2
1 changed files with 3 additions and 3 deletions
|
@ -57,17 +57,17 @@ app.add_url_rule(
|
|||
methods=["GET", "PATCH", "DELETE", "PUT"],
|
||||
)
|
||||
app.add_url_rule(
|
||||
"/api/v1/repositories/<int:rid>/conditions",
|
||||
"/api/v1/repositories/<int:rid>/conditions/",
|
||||
view_func=routes.page_repository_conditions,
|
||||
methods=["GET", "POST"],
|
||||
)
|
||||
app.add_url_rule(
|
||||
"/api/v1/repositories/<int:rid>/alerts",
|
||||
"/api/v1/repositories/<int:rid>/alerts/",
|
||||
view_func=routes.page_repository_alerts,
|
||||
methods=["GET", "POST"]
|
||||
)
|
||||
app.add_url_rule(
|
||||
"/api/v1/repositories/<int:rid>/tweets",
|
||||
"/api/v1/repositories/<int:rid>/tweets/",
|
||||
view_func=routes.page_repository_tweets,
|
||||
methods=["GET"]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue