From 923cbc579c4287648bb7775d5336db4a8324fc96 Mon Sep 17 00:00:00 2001 From: Black Coffee Date: Tue, 25 Oct 2022 11:04:07 +0100 Subject: [PATCH] Removed unused custom css api call from display.html --- .../satspay/templates/satspay/display.html | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lnbits/extensions/satspay/templates/satspay/display.html b/lnbits/extensions/satspay/templates/satspay/display.html index 5f9c8287d..49c553a03 100644 --- a/lnbits/extensions/satspay/templates/satspay/display.html +++ b/lnbits/extensions/satspay/templates/satspay/display.html @@ -333,17 +333,6 @@ } ) }, - getCustomCss: async function () { - try { - const {data} = await LNbits.api.request( - 'GET', - `/satspay/api/v1/settings/css/${this.charge.id}` - ) - this.customCss = data - } catch (error) { - LNbits.utils.notifyApiError(error) - } - }, checkBalances: async function () { if (this.charge.hasStaleBalance) return try { @@ -445,7 +434,6 @@ } }, created: async function () { - await this.getCustomCss() if (this.charge.lnbitswallet) this.payInvoice() else this.payOnchain() await this.checkBalances()