Skip to content

Commit

Permalink
fix(Staffing): Fixing reference to UL cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
jgodi committed Apr 24, 2018
1 parent fc797ac commit 75ee429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/Staffing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ export class Staffing {
* Retrieves the HttpService created to connect to the Bullhorn RestApi
*/
static http(): AxiosInstance {
const cookie = getCookie('UL_identity');
const cookie = getCookie('UlEncodedIdentity');
if (cookie && cookie.length) {
const identity = JSON.parse(JSON.parse(cookie));
const identity = JSON.parse(decodeURIComponent(cookie));
const endpoints = identity.sessions.reduce((obj, session) => {
obj[session.name] = session.value.endpoint;
return obj;
Expand Down

0 comments on commit 75ee429

Please sign in to comment.