From 0e5885939326f1c333c49cdb87f35b447af879e4 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 15 May 2017 13:55:40 +0200 Subject: [PATCH] Fix lint error --- www/common/common-hash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/common-hash.js b/www/common/common-hash.js index d79f7c523..e38fa088e 100644 --- a/www/common/common-hash.js +++ b/www/common/common-hash.js @@ -34,7 +34,7 @@ define([ var getFileHashFromKeys = Hash.getFileHashFromKeys = function (fileKey, cryptKey) { return '/1/' + hexToBase64(fileKey) + '/' + Crypto.b64RemoveSlashes(cryptKey) + '/'; }; - var getUserHrefFromKeys = Hash.getUserHrefFromKeys = function (username, pubkey) { + Hash.getUserHrefFromKeys = function (username, pubkey) { return window.location.origin + '/user/#/1/' + username + '/' + pubkey.replace(/\//g, '-'); };