Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Commit

Permalink
fixed inline documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Jul 5, 2018
1 parent d95e419 commit 39bc4c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 2 additions & 10 deletions lib/Adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ var query = exports.query = (0, _lodashFp.curry)(function (qs, state) {
* @public
* @example
* bulk('Patient__c', 'insert', { failOnError: true }, state => {
* return state.data.someArray.map(item => {
* return { 'Age__c': f.age, 'Name': f.name }
* return state.data.someArray.map(x => {
* return { 'Age__c': x.age, 'Name': x.name }
* })
* });
* @function
Expand Down Expand Up @@ -573,11 +573,3 @@ function expandReferences(state, attrs) {
return typeof value == 'function' ? value(state) : value;
})(attrs);
}

function commonExpandReferences(obj) {
return function (state) {
return (0, _lodashFp.mapValues)(function (value) {
return typeof value == 'function' ? value(state) : value;
})(obj);
};
}
4 changes: 2 additions & 2 deletions src/Adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export const query = curry(function(qs, state) {
* @public
* @example
* bulk('Patient__c', 'insert', { failOnError: true }, state => {
* return state.data.someArray.map(item => {
* return { 'Age__c': f.age, 'Name': f.name }
* return state.data.someArray.map(x => {
* return { 'Age__c': x.age, 'Name': x.name }
* })
* });
* @function
Expand Down

0 comments on commit 39bc4c1

Please sign in to comment.