up
This commit is contained in:
parent
73db820217
commit
fa8a8272d7
1 changed files with 2 additions and 1 deletions
|
|
@ -242,7 +242,8 @@ export default class {
|
||||||
if (!url) {
|
if (!url) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let finalUrl = url.replace(`%[invoice]`, invoice).replace(`%[amount]`, amount.toString())
|
let finalUrl = url.replace(`%[invoice]`, invoice)
|
||||||
|
finalUrl = finalUrl.replace(`%[amount]`, amount.toString())
|
||||||
if (other) {
|
if (other) {
|
||||||
for (const [key, value] of Object.entries(other)) {
|
for (const [key, value] of Object.entries(other)) {
|
||||||
finalUrl = url.replace(`%[${key}]`, value)
|
finalUrl = url.replace(`%[${key}]`, value)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue