Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
fixing naming conflict and bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinohara80 committed Jan 27, 2015
1 parent 24e6df6 commit 0102504
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ This method handles integration with salesforce ApexRest
(Custom Rest endpoints)
http://wiki.developerforce.com/page/Creating_REST_APIs_using_Apex_REST

## autoRefresh(opts, [callback])
## autoRefreshToken(opts, [callback])

opts:

Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ Connection.prototype.stream = function(data) {
* auto-refresh
*****************************/

Connection.prototype.autoRefresh = function(data, callback) {
Connection.prototype.autoRefreshToken = function(data, callback) {
var self = this;

var opts = this._getOpts(data, callback, {
Expand Down Expand Up @@ -983,7 +983,7 @@ Connection.prototype._apiRequest = function(opts, callback) {
!opts._retryCount) {

// attempt the autorefresh
Connection.prototype.autoRefresh.call(self, opts, function(err2, res2) {
Connection.prototype.autoRefreshToken.call(self, opts, function(err2, res2) {
if(err2) {
return resolver.reject(err2);
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Kevin O'Hara <kevnohara80@gmail.com> (http://kevinmohara.com)",
"name": "nforce",
"description": "nforce is a REST API wrapper for force.com, database.com, and salesforce.com",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"keywords": [
"salesforce",
"salesforce.com",
Expand Down

0 comments on commit 0102504

Please sign in to comment.