From 7ec2b469609ba288643a6c0e6d79e82c08f3e4d2 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Wed, 13 Apr 2016 21:21:35 -0400 Subject: [PATCH] Add missing args param to check_for_new_version call --- js/lbry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lbry.js b/js/lbry.js index 167b8c2a4..c0b195a02 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -94,7 +94,7 @@ lbry.search = function(query, callback) lbry.checkNewVersionAvailable = function(callback) { lbry.call('version', {}, function() { // If the "version" method is available, we have a daemon new enough to do version checking - lbry.call('check_for_new_version', callback); + lbry.call('check_for_new_version', {}, callback); }, function(err) { if (err.fault == 'NoSuchFunction') { // If it's not available, we're definitely in an old version