Add salesforce custom objects and custom fields (#1061)

This commit is contained in:
Ricardo Espinoza
2020-10-16 04:27:09 -04:00
committed by GitHub
parent b40dec3e4a
commit 86d5681517
8 changed files with 1011 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ export async function salesforceApiRequest(this: IExecuteFunctions | IExecuteSin
const subdomain = ((credentials!.accessTokenUrl as string).match(/https:\/\/(.+).salesforce\.com/) || [])[1];
const options: OptionsWithUri = {
method,
body: method === "GET" ? undefined : body,
body: method === 'GET' ? undefined : body,
qs,
uri: `https://${subdomain}.salesforce.com/services/data/v39.0${uri || endpoint}`,
json: true