gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: only update credentials if they


From: gnunet
Subject: [taler-merchant] branch master updated: only update credentials if they were actually given
Date: Sun, 23 Apr 2023 23:03:36 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 132cce0e only update credentials if they were actually given
132cce0e is described below

commit 132cce0ec0f3dcf32c19df98a6e4416701197fb9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Apr 23 23:03:33 2023 +0200

    only update credentials if they were actually given
---
 src/backenddb/pg_update_account.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backenddb/pg_update_account.c 
b/src/backenddb/pg_update_account.c
index 0a95a94c..3e36596d 100644
--- a/src/backenddb/pg_update_account.c
+++ b/src/backenddb/pg_update_account.c
@@ -51,7 +51,7 @@ TMH_PG_update_account (
            "update_account",
            "UPDATE merchant_accounts SET"
            " credit_facade_url=$3"
-           ",credit_facade_credentials=$4"
+           ",credit_facade_credentials=COALESCE($4,credit_facade_credentials)"
            ",active=$5"
            " WHERE h_wire=$2"
            "   AND merchant_serial="

-- 
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]