From d82e06a4f91e375c0720fa0ed27a1ca2d7222057 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Mon, 20 Apr 2020 08:29:19 +0100 Subject: [PATCH] Update views_api.py --- lnbits/extensions/tpos/views_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/tpos/views_api.py b/lnbits/extensions/tpos/views_api.py index c756c662..745d4203 100644 --- a/lnbits/extensions/tpos/views_api.py +++ b/lnbits/extensions/tpos/views_api.py @@ -36,7 +36,7 @@ def api_tpos_create(): @tpos_ext.route("/api/v1/tposs/", methods=["DELETE"]) -@api_check_wallet_key("invoice") +@api_check_wallet_key("admin") def api_tpos_delete(tpos_id): tpos = get_tpos(tpos_id)