Add missing args param to check_for_new_version call
This commit is contained in:
parent
698b08cff5
commit
7ec2b46960
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ lbry.search = function(query, callback)
|
||||||
lbry.checkNewVersionAvailable = function(callback) {
|
lbry.checkNewVersionAvailable = function(callback) {
|
||||||
lbry.call('version', {}, function() {
|
lbry.call('version', {}, function() {
|
||||||
// If the "version" method is available, we have a daemon new enough to do version checking
|
// 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) {
|
}, function(err) {
|
||||||
if (err.fault == 'NoSuchFunction') {
|
if (err.fault == 'NoSuchFunction') {
|
||||||
// If it's not available, we're definitely in an old version
|
// If it's not available, we're definitely in an old version
|
||||||
|
|
Loading…
Add table
Reference in a new issue