Skip to content

Commit

Permalink
Hirad/derivez issue of token (#9174)
Browse files Browse the repository at this point in the history
* fix: changed the naming of the token

* fix: added return to the service token

* fix: commented derivx reaction

---------

Co-authored-by: Matin shafiei <matin@deriv.com>
  • Loading branch information
hirad-deriv and matin-deriv committed Jun 28, 2023
1 parent c6447b2 commit 7ec2d6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cfd/src/Stores/Modules/CFD/cfd-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,8 @@ export default class CFDStore extends BaseStore {

setDerivezToken(response, server) {
if (!response.error) {
const { derivez } = response.service_token;
this.derivez_tokens[server] = derivez.token;
const { pandats } = response.service_token;
this.derivez_tokens[server] = pandats.token;
}
}

Expand Down

1 comment on commit 7ec2d6f

@vercel
Copy link

@vercel vercel bot commented on 7ec2d6f Jun 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app.vercel.app
binary.sx
deriv-app-git-master.binary.sx
deriv-app.binary.sx

Please sign in to comment.