Add method name to the API query string
This commit is contained in:
parent
0ce0cf1de3
commit
a097c14c31
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ export function apiCall(method: string, params: ?{}, resolve: Function, reject:
|
|||
}),
|
||||
};
|
||||
|
||||
return fetch(Lbry.daemonConnectionString, options)
|
||||
return fetch(Lbry.daemonConnectionString + '?m=' + method, options)
|
||||
.then(checkAndParse)
|
||||
.then(response => {
|
||||
const error = response.error || (response.result && response.result.error);
|
||||
|
|
Loading…
Reference in a new issue