test merge

This commit is contained in:
Joel Sanguenza 2022-09-15 00:00:05 +08:00
commit 4fc96b39ca
1 changed files with 8 additions and 0 deletions

View File

@ -17,7 +17,11 @@ async function plutioApiRequestToken(this: IExecuteFunctions | ILoadOptionsFunct
const clientId = `${credentials.clientId}`;
const clientSecret = `${credentials.clientSecret}`;
const business = `${credentials.business}`;
<<<<<<< HEAD
const endpoint = 'api.plutio.com/v1.10';
=======
const endpoint = 'api.plutio.com/v1.9';
>>>>>>> master
const returnData: IDataObject[] = [];
let responseData;
@ -58,7 +62,11 @@ async function plutioApiRequestToken(this: IExecuteFunctions | ILoadOptionsFunct
// Rest API function for plutio node.
export async function plutioApiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: string, resource: string, body: any = {}, query: IDataObject = {}, uri?: string, option: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
<<<<<<< HEAD
const endpoint = 'api.plutio.com/v1.10';
=======
const endpoint = 'api.plutio.com/v1.9';
>>>>>>> master
const credentials = await this.getCredentials('plutioApi');
const plutioApiToken = await plutioApiRequestToken.call(this);
const business = `${credentials.business}`;