From ea397151b8cc7d2e29667b99563a9cfefbbfe3e1 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Thu, 29 Jun 2017 13:30:36 +0200
Subject: [PATCH] [enh] #875 Refactoring wrong variable name

---
 app/lib/dal/fileDAL.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/lib/dal/fileDAL.js b/app/lib/dal/fileDAL.js
index b27722853..fd347be9d 100644
--- a/app/lib/dal/fileDAL.js
+++ b/app/lib/dal/fileDAL.js
@@ -218,7 +218,7 @@ function FileDAL(params) {
   });
 
   this.getWrittenIdtyByPubkey = (pubkey) => this.iindexDAL.getFromPubkey(pubkey);
-  this.getWrittenIdtyByUID = (pubkey) => this.iindexDAL.getFromUID(pubkey);
+  this.getWrittenIdtyByUID = (uid) => this.iindexDAL.getFromUID(uid);
 
   this.fillInMembershipsOfIdentity = (queryPromise) => co(function*() {
     try {
-- 
GitLab