diff --git a/app/lib/dal/fileDAL.js b/app/lib/dal/fileDAL.js index b27722853151c93e98faca3359f6d4837a8ac133..fd347be9d822c7d3283beb5354913b97d878c2b4 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 {