Skip to content

Commit 83b5a70

Browse files
committed
fix: parsing ampersand in invoice memo
1 parent b2d6957 commit 83b5a70

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/sources/src/stores/wallets.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ const wallets = {
3131
},
3232
};
3333
},
34+
parseData(data) {
35+
return {
36+
...data,
37+
memo: data.memo && data.memo.replace(/&/g, '%26'),
38+
description: data.description && data.description.replace(/&/g, '%26'),
39+
};
40+
},
3441
async run(wuid, asset) {
3542
return this.startFetching({
3643
asset,

0 commit comments

Comments
 (0)