Skip to content

Commit

Permalink
Suppression de / dans la définition de la route - cf #228
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Jul 1, 2020
1 parent 848174f commit c4ddb80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apptax/utils/routesconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

from ..database import db

@adresses.route("/", methods=["GET"])
@adresses.route("", methods=["GET"])
@json_resp
def get_config(id=None):
"""
Route générant la configuration utile au frontend
"""

data = db.session.query(Application).filter_by(code_application='TH').first()

return {
"id_application": data.id_application
}

0 comments on commit c4ddb80

Please sign in to comment.