mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
fcall to just Q()
This commit is contained in:
@@ -90,9 +90,7 @@ function initTotpService() {
|
||||
var keyBytes = b32tobytes(keyb32);
|
||||
|
||||
if (!keyBytes.length || !timeBytes.length) {
|
||||
return Q.fcall(function () {
|
||||
return null;
|
||||
});
|
||||
return Q(null);
|
||||
}
|
||||
|
||||
return sign(keyBytes, timeBytes).then(function (hashHex) {
|
||||
|
||||
Reference in New Issue
Block a user