[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: allow default insta
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: allow default instance for POST /order |
Date: |
Thu, 01 Feb 2018 21:03:06 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 51ed7cb allow default instance for POST /order
51ed7cb is described below
commit 51ed7cb4b6184c38476b5c5b5f545120df210b76
Author: Florian Dold <address@hidden>
AuthorDate: Thu Feb 1 17:57:24 2018 +0100
allow default instance for POST /order
---
src/backend/taler-merchant-httpd_proposal.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_proposal.c
b/src/backend/taler-merchant-httpd_proposal.c
index e117b50..17b7578 100644
--- a/src/backend/taler-merchant-httpd_proposal.c
+++ b/src/backend/taler-merchant-httpd_proposal.c
@@ -274,7 +274,10 @@ proposal_put (struct MHD_Connection *connection,
instance = json_string_value (json_object_get (order,
"instance"));
- if (NULL != instance)
+
+ if (NULL == instance)
+ instance = "default";
+
{
// The frontend either fully specifieds the "merchant" field, or just gives
// the backend the "instance" name and lets it fill out.
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: allow default instance for POST /order,
gnunet <=