Skip to content
Snippets Groups Projects
Commit b841fd91 authored by Johan Nordberg's avatar Johan Nordberg Committed by Justin Welch
Browse files

Use appbase setting also for http transport (#291)

parent aeeca39e
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,9 @@ export function jsonRpc(uri, {method, id, params}) {
export default class HttpTransport extends Transport {
send(api, data, callback) {
if (this.options.useAppbaseApi) {
api = 'condenser_api';
}
debug('Steem::send', api, data);
const id = data.id || this.id++;
const params = [api, data.method, data.params];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment