gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] 02/08: fix: support for empty strings


From: gnunet
Subject: [taler-wallet-core] 02/08: fix: support for empty strings
Date: Mon, 07 Aug 2023 13:14:52 +0200

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

sebasjm pushed a commit to branch master
in repository wallet-core.

commit 8eb0183c784865225569da1fa1f91a8038693405
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Aug 7 06:47:51 2023 -0300

    fix: support for empty strings
---
 packages/taler-util/src/taleruri.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-util/src/taleruri.ts 
b/packages/taler-util/src/taleruri.ts
index 777cb5245..fff1ca833 100644
--- a/packages/taler-util/src/taleruri.ts
+++ b/packages/taler-util/src/taleruri.ts
@@ -767,7 +767,7 @@ function getUrlInfo(
   const qp = new URLSearchParams();
   let withParams = false;
   Object.entries(params).forEach(([name, value]) => {
-    if (value) {
+    if (value !== undefined) {
       withParams = true;
       qp.append(name, value);
     }

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