Update views_api.py
This commit is contained in:
parent
39098b2432
commit
d82e06a4f9
|
@ -36,7 +36,7 @@ def api_tpos_create():
|
||||||
|
|
||||||
|
|
||||||
@tpos_ext.route("/api/v1/tposs/<tpos_id>", methods=["DELETE"])
|
@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):
|
def api_tpos_delete(tpos_id):
|
||||||
tpos = get_tpos(tpos_id)
|
tpos = get_tpos(tpos_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user