diff --git a/lnbits/extensions/tpos/templates/tpos/index.html b/lnbits/extensions/tpos/templates/tpos/index.html index 291d58e..97a1bcf 100644 --- a/lnbits/extensions/tpos/templates/tpos/index.html +++ b/lnbits/extensions/tpos/templates/tpos/index.html @@ -207,7 +207,7 @@ LNbits.api.request( 'DELETE', '/tpos/api/v1/tposs/' + tposId, - _.findWhere(self.g.user.wallets, {id: tpos.wallet}).inkey + _.findWhere(self.g.user.wallets, {id: tpos.wallet}).adminkey ).then(function (response) { self.tposs = _.reject(self.tposs, function (obj) { return obj.id == tposId; }); }).catch(function (error) {