From 8c0da76d4c87973ffc311cc1526c35aa27451805 Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Tue, 4 Jul 2017 19:49:57 +0200
Subject: [PATCH] [fix] regression 1.3.1 regression who return empty
 willMembers table

---
 routes/willMembers.js | 2 +-
 views/about.html      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/routes/willMembers.js b/routes/willMembers.js
index 8e5e523..ecabbd0 100755
--- a/routes/willMembers.js
+++ b/routes/willMembers.js
@@ -58,7 +58,7 @@ module.exports = (req, res, next) => co(function *() {
 		cache.lockWillMembers = true;
 		
 		// Vérifier si le cache doit être Réinitialiser
-		let reinitCache = (!cache.lockWillMembers && Math.floor(Date.now() / 1000) > (cache.willMembersLastUptime + MIN_WILLMEMBERS_UPDATE_FREQ));
+		let reinitCache = (Math.floor(Date.now() / 1000) > (cache.willMembersLastUptime + MIN_WILLMEMBERS_UPDATE_FREQ));
 
 		if (reinitCache)
     {
diff --git a/views/about.html b/views/about.html
index b6a72f8..0cd9fc3 100755
--- a/views/about.html
+++ b/views/about.html
@@ -31,7 +31,7 @@ ${(host.substr(host.length-6,6) == '.onion') ? HTML_TOR_HEAD:HTML_HEAD}
   <a href="https://github.com/duniter/duniter-currency-monit/blob/master/LICENSE">License AGPL V 3.0</a><br>
   <a href="https://github.com/duniter/duniter-currency-monit/">github repository</a>
 </div><br>
-<div align="left">Version : <a href="https://github.com/duniter/duniter-currency-monit/releases/tag/module-0.3.1">module-0.3.1</a></div><br>
+<div align="left">Version : <a href="https://github.com/duniter/duniter-currency-monit/releases/tag/module-0.3.2">module-0.3.2</a></div><br>
 <div align="left">Author : <a href="https://github.com/librelois">Éloïs Librelois</a></div><br>
 <div align="left">Contributors : <a href="https://github.com/jytou">jytou</a> (translator), <a href="https://github.com/devingfx">devingfx</a> (frontend), <a href="https://github.com/c-geek">cgeek</a> (willMembers and wotex),<a href="https://github.com/M5oul">M5oul</a> (adjustments)</div><br>
 <br>
-- 
GitLab