gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: can be const


From: gnunet
Subject: [taler-wallet-core] branch master updated: can be const
Date: Sun, 21 Jun 2020 14:50:00 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 76fffded can be const
76fffded is described below

commit 76fffdedd7274b1ea8653d1631e72646f86d94c9
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Sun Jun 21 18:19:51 2020 +0530

    can be const
---
 src/util/payto.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/payto.ts b/src/util/payto.ts
index 0f624de6..b675b5d1 100644
--- a/src/util/payto.ts
+++ b/src/util/payto.ts
@@ -28,7 +28,7 @@ const paytoPfx = "payto://";
 export function addPaytoQueryParams(s: string, params: { [name: string]: 
string }): string {
   const [acct, search] = s.slice(paytoPfx.length).split("?");
   const searchParams = new URLSearchParams(search || "");
-  for (let k of Object.keys(params)) {
+  for (const k of Object.keys(params)) {
     searchParams.set(k, params[k]);
   }
   return paytoPfx + acct + "?" + searchParams.toString();

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