mirror of
https://github.com/aljazceru/btcpayserver-breez-nodeless-plugin.git
synced 2025-12-17 00:24:22 +01:00
Fix: Update connection string type from breez to breezspark in JavaScript
- Fixed JavaScript connection string generation in LNPaymentMethodSetupTab.cshtml - Updated all connection string examples to use breezspark - Updated UI text to reference BreezSpark instead of Breez
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
const storeId = '@Model.StoreId';
|
const storeId = '@Model.StoreId';
|
||||||
const paymentKey = '@Html.Raw(paymentKey)';
|
const paymentKey = '@Html.Raw(paymentKey)';
|
||||||
const connString = `type=breez;key=${paymentKey};storeId=${storeId}`;
|
const connString = `type=breezspark;key=${paymentKey};storeId=${storeId}`;
|
||||||
connStringEl.value = connString;
|
connStringEl.value = connString;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<div class="accordion-item">
|
<div class="accordion-item">
|
||||||
<h2 class="accordion-header" id="CustomBreezHeader">
|
<h2 class="accordion-header" id="CustomBreezHeader">
|
||||||
<button type="button" class="accordion-button collapsed" data-bs-toggle="collapse" data-bs-target="#CustomBreezContent" aria-controls="CustomBreezContent" aria-expanded="false">
|
<button type="button" class="accordion-button collapsed" data-bs-toggle="collapse" data-bs-target="#CustomBreezContent" aria-controls="CustomBreezContent" aria-expanded="false">
|
||||||
<span><strong>Breez</strong> non-custodial Lightning wallet</span>
|
<span><strong>BreezSpark</strong> non-custodial Lightning wallet</span>
|
||||||
<vc:icon symbol="caret-down"/>
|
<vc:icon symbol="caret-down"/>
|
||||||
</button>
|
</button>
|
||||||
</h2>
|
</h2>
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
<strong>Connection string will be auto-filled:</strong>
|
<strong>Connection string will be auto-filled:</strong>
|
||||||
<br/>
|
<br/>
|
||||||
<code>type=breez;key=@paymentKey;storeId=@Model.StoreId</code>
|
<code>type=breezspark;key=@paymentKey;storeId=@Model.StoreId</code>
|
||||||
</div>
|
</div>
|
||||||
<p class="my-2">
|
<p class="my-2">
|
||||||
The connection string above will be automatically filled when you select Breez.
|
The connection string above will be automatically filled when you select Breez.
|
||||||
|
|||||||
Reference in New Issue
Block a user