@leapdev/auth-agent 2.0.9-beta.0 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leapdev/auth-agent",
3
- "version": "2.0.9-beta.0",
3
+ "version": "2.0.9",
4
4
  "description": "LEAP Auth Agent",
5
5
  "license": "LEAP Legal Software, PTY LTD",
6
6
  "main": "./src/index.js",
package/src/index.umd.js CHANGED
@@ -4056,7 +4056,7 @@
4056
4056
  options: null,
4057
4057
  accessToken: token
4058
4058
  }, (response, status) => {
4059
- if (status === 200) return resolve(response);else return reject(response);
4059
+ if (status === 204) return resolve(response);else return reject(response);
4060
4060
  });
4061
4061
  });
4062
4062
  };
@@ -202,7 +202,7 @@ export class LeapAuthService {
202
202
  options: null,
203
203
  accessToken: token,
204
204
  }, (response, status) => {
205
- if (status === 200)
205
+ if (status === 204)
206
206
  return resolve(response);
207
207
  else
208
208
  return reject(response);