Update views_api.py

This commit is contained in:
Arc 2020-04-20 08:29:19 +01:00 committed by GitHub
parent 39098b2432
commit d82e06a4f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ def api_tpos_create():
@tpos_ext.route("/api/v1/tposs/<tpos_id>", methods=["DELETE"])
@api_check_wallet_key("invoice")
@api_check_wallet_key("admin")
def api_tpos_delete(tpos_id):
tpos = get_tpos(tpos_id)