mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 11:32:38 +02:00
Access to the payment info shouldn't be staff only
This commit is contained in:
parent
cc9f75de23
commit
fe16d4a2e0
1 changed files with 0 additions and 1 deletions
|
@ -303,7 +303,6 @@ async def adjust_product(request, response, id, ref):
|
||||||
|
|
||||||
|
|
||||||
@app.route("/distribution/{id}/paiements", methods=["GET"])
|
@app.route("/distribution/{id}/paiements", methods=["GET"])
|
||||||
@staff_only
|
|
||||||
async def compute_payments(request, response, id):
|
async def compute_payments(request, response, id):
|
||||||
delivery = Delivery.load(id)
|
delivery = Delivery.load(id)
|
||||||
groups = request["groups"]
|
groups = request["groups"]
|
||||||
|
|
Loading…
Reference in a new issue