Skip to content

Commit 8d77036

Browse files
eengorontaylorbrooks
authored andcommitted
Switch base url to api.close.com
1 parent 574a2b7 commit 8d77036

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/close.io.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Closeio.prototype._request = function(options) {
296296

297297
Closeio.prototype._post = function(path, options) {
298298
options = {
299-
uri: 'https://app.close.io/api/v1' + path,
299+
uri: 'https://api.close.com/api/v1' + path,
300300
body: JSON.stringify(options),
301301
headers: {
302302
'Content-type': 'application/json'
@@ -308,7 +308,7 @@ Closeio.prototype._post = function(path, options) {
308308

309309
Closeio.prototype._get = function(path, parameters) {
310310
var options = {
311-
uri: 'https://app.close.io/api/v1' + path,
311+
uri: 'https://api.close.com/api/v1' + path,
312312
method: 'GET',
313313
qs: parameters
314314
};
@@ -317,7 +317,7 @@ Closeio.prototype._get = function(path, parameters) {
317317

318318
Closeio.prototype._put = function(path, options) {
319319
options = {
320-
uri: 'https://app.close.io/api/v1' + path,
320+
uri: 'https://api.close.com/api/v1' + path,
321321
body: JSON.stringify(options),
322322
headers: {
323323
'Content-type': 'application/json'
@@ -329,7 +329,7 @@ Closeio.prototype._put = function(path, options) {
329329

330330
Closeio.prototype._delete = function(path) {
331331
var options = {
332-
uri: 'https://app.close.io/api/v1' + path,
332+
uri: 'https://api.close.com/api/v1' + path,
333333
method: 'DELETE'
334334
};
335335
return this._request(options);

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "close.io",
33
"preferGlobal": "false",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"author": "John Wehr <johnwehr@gmail.com>",
66
"description": "",
77
"contributors": [

0 commit comments

Comments
 (0)