Skip to content

Commit f361042

Browse files
committed
component method adjustment
1 parent 3eb7011 commit f361042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/salesforce_rest_api/actions/upsert-record/upsert-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
async upsertRecord(sobjectName, {
2828
externalIdFieldName, externalIdValue, ...args
2929
}) {
30-
const url = `${this._sObjectTypeApiUrl(sobjectName)}/${externalIdFieldName}/${externalIdValue}`;
30+
const url = `${this.salesforce._sObjectTypeApiUrl(sobjectName)}/${externalIdFieldName}/${externalIdValue}`;
3131
return this.salesforce._makeRequest({
3232
url,
3333
method: "PATCH",

0 commit comments

Comments
 (0)