1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 14:34:19 +00:00

Add slash to folder api calls

This commit is contained in:
Lorenzo Balugani 2021-05-18 19:04:59 +02:00
parent 2678dc66c6
commit cf678d73b2

View file

@ -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"]
)