[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fixing properly adding query
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fixing properly adding query params |
Date: |
Wed, 14 Sep 2022 13:37:42 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 9d044058 fixing properly adding query params
9d044058 is described below
commit 9d044058e267e9e94f3ee63809a1e22426151ee5
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Sep 14 08:37:33 2022 -0300
fixing properly adding query params
---
.../taler-wallet-core/src/operations/transactions.ts | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts
b/packages/taler-wallet-core/src/operations/transactions.ts
index 5be24c57..95be5018 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -19,35 +19,33 @@
*/
import {
AbsoluteTime,
- AmountJson,
- Amounts,
+ addPaytoQueryParams, Amounts,
constructPayPullUri,
constructPayPushUri,
Logger,
- OrderShortInfo,
- PaymentStatus,
+ OrderShortInfo, PaymentStatus,
RefundInfoShort,
Transaction,
TransactionsRequest,
TransactionsResponse,
TransactionType,
WithdrawalDetails,
- WithdrawalType,
+ WithdrawalType
} from "@gnu-taler/taler-util";
-import { InternalWalletState } from "../internal-wallet-state.js";
import {
AbortStatus,
RefundState,
WalletRefundItem,
- WithdrawalRecordType,
+ WithdrawalRecordType
} from "../db.js";
+import { InternalWalletState } from "../internal-wallet-state.js";
+import { RetryTags } from "../util/retries.js";
import { processDepositGroup } from "./deposits.js";
import { getExchangeDetails } from "./exchanges.js";
import { processPurchasePay } from "./pay.js";
import { processRefreshGroup } from "./refresh.js";
import { processTip } from "./tip.js";
import { processWithdrawalGroup } from "./withdraw.js";
-import { RetryTags } from "../util/retries.js";
const logger = new Logger("taler-wallet-core:transactions.ts");
@@ -297,7 +295,7 @@ export async function getTransactions(
reservePub: wsr.reservePub,
exchangePaytoUris:
exchangeDetails.wireInfo?.accounts.map(
- (x) => `${x.payto_uri}?subject=${wsr.reservePub}`,
+ (x) => addPaytoQueryParams(x.payto_uri, { subject:
wsr.reservePub }),
) ?? [],
};
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: fixing properly adding query params,
gnunet <=