Syntax correction

This commit is contained in:
Zuzanna 2025-06-11 15:51:25 +02:00
parent cc2be6b623
commit 5da033fe94

View File

@ -87,7 +87,6 @@ var factory = function (Util, Crypto, Keys, Nacl) {
if (secret.keys && secret.keys.fileKeyStr) { mode = ''; }
var hash = '/3/' + type + '/' + mode + secret.channel + '/' + pass;
var hashData = Hash.parseTypeHash(type, hash);
if (hashData && hashData.getHash) {
return hashData.getHash(opts || {});