diff --git a/lib/api.js b/lib/api.js index 15b7b53..7822333 100644 --- a/lib/api.js +++ b/lib/api.js @@ -164,7 +164,7 @@ let session = { } // Build the cookie - let cookie = 'Set-Cookie: ' + cookieName + '=' + this._userToken + '; Domain=' + this._cookieDomain + '; path=/;' + let cookie = cookieName + '=' + this._userToken + '; Domain=' + this._cookieDomain + '; path=/;' if (this.expirationInDays > 0) { let d = new Date() d.setTime(d.getTime() + 24 * 60 * 60 * 1000 * this.expirationInDays) diff --git a/package.json b/package.json index 950d004..ab9d1c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tonicpow-js", - "version": "0.1.18", + "version": "0.1.19", "description": "TonicPow API Library in JS - https://docs.tonicpow.com", "main": "lib/api.js", "repository": {