Commit 291adc61 authored by David Foucher's avatar David Foucher

Rename remuneration endpoint to remuneration-aide

parent 8fa9c499
Pipeline #3267 passed with stage
in 1 minute and 48 seconds
......@@ -67,7 +67,7 @@ async def test_remuneration_endpoint(client):
spec = create_spec(json.loads(resp.body))
resp = await client.post(
"/remuneration",
"/remuneration-aide",
body={
"beneficiaire.age": 20,
"formation.region": 27,
......
......@@ -97,7 +97,7 @@ async def simulate_(request, response):
# TODO : add pointer error for bad region number + test
@app.route("/remuneration", methods=["POST"])
@app.route("/remuneration-aide", methods=["POST"])
async def remuneration_(request, response):
context = request.json
remunerations = get_remunerations(tags=request.query.list("tags", []))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment