gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-android] branch master updated: [wallet] use new name of pr


From: gnunet
Subject: [taler-taler-android] branch master updated: [wallet] use new name of preparePayForUri wallet-core API
Date: Mon, 17 Oct 2022 00:35:16 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository taler-android.

The following commit(s) were added to refs/heads/master by this push:
     new 2eb055b  [wallet] use new name of preparePayForUri wallet-core API
2eb055b is described below

commit 2eb055b17d3f05649da4ee654a73db675e3ae458
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Oct 17 00:35:13 2022 +0200

    [wallet] use new name of preparePayForUri wallet-core API
---
 wallet/src/main/java/net/taler/wallet/payment/PaymentManager.kt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wallet/src/main/java/net/taler/wallet/payment/PaymentManager.kt 
b/wallet/src/main/java/net/taler/wallet/payment/PaymentManager.kt
index b8918c1..dfa14c2 100644
--- a/wallet/src/main/java/net/taler/wallet/payment/PaymentManager.kt
+++ b/wallet/src/main/java/net/taler/wallet/payment/PaymentManager.kt
@@ -68,10 +68,10 @@ class PaymentManager(
     @UiThread
     fun preparePay(url: String) = scope.launch {
         mPayStatus.value = PayStatus.Loading
-        api.request("preparePay", PreparePayResponse.serializer()) {
+        api.request("preparePayForUri", PreparePayResponse.serializer()) {
             put("talerPayUri", url)
         }.onError {
-            handleError("preparePay", it)
+            handleError("preparePayForUri", it)
         }.onSuccess { response ->
             mPayStatus.value = when (response) {
                 is PaymentPossibleResponse -> response.toPayStatusPrepared()

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]