[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[exchange] branch master updated: fakebank: return body on account creat
From: |
gnunet |
Subject: |
[exchange] branch master updated: fakebank: return body on account creation as per specification |
Date: |
Thu, 16 Jan 2025 15:44:33 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 3fe81205d fakebank: return body on account creation as per
specification
3fe81205d is described below
commit 3fe81205d8483ca87bb0ab84b10f8b9125278ddf
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Jan 16 15:44:22 2025 +0100
fakebank: return body on account creation as per specification
---
src/bank-lib/fakebank_bank_testing_register.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/bank-lib/fakebank_bank_testing_register.c
b/src/bank-lib/fakebank_bank_testing_register.c
index e5720f1a6..3ba6cccb9 100644
--- a/src/bank-lib/fakebank_bank_testing_register.c
+++ b/src/bank-lib/fakebank_bank_testing_register.c
@@ -117,11 +117,11 @@ TALER_FAKEBANK_bank_testing_register_ (
acc->password = GNUNET_strdup (password);
acc->balance = h->signup_bonus; /* magic money creation! */
}
- res = TALER_MHD_reply_static (connection,
- MHD_HTTP_NO_CONTENT,
- NULL,
- NULL,
- 0);
+ res = TALER_MHD_REPLY_JSON_PACK (
+ connection,
+ MHD_HTTP_OK,
+ GNUNET_JSON_pack_string ("internal_payto_uri",
+ acc->payto_uri));
}
json_decref (json);
return res;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [exchange] branch master updated: fakebank: return body on account creation as per specification,
gnunet <=