Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Conversation

@nazaninreihani
Copy link
Contributor

No description provided.

if (!account || !token || !currency) break;
accounts.push({ account: account, token: token, currency : currency, });
if (!account || !token) break;
accounts.push({ account: account, token: token, currency : currency || '', });
Copy link
Contributor

Choose a reason for hiding this comment

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

@nazaninreihani We might have to think about it more. I have seen this account.currency being used in multiple places. Not sure if it has some major impact allowing to proceed with empty currency. Could you please check the previous code before my changes if it was earlier allowed to pass through with currency being none? That way we would be safe to merge this change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

@arnabk
Copy link
Contributor

arnabk commented Aug 22, 2017

@nazaninreihani Are you still working on this ?

@nazaninreihani
Copy link
Contributor Author

@arnabk I mentioned you before, before the PR of adding currency to login we had SET_DEFAULT_CURRENCY so what's your idea? removing currency or adding SET_DEFAULT_CURRENCY to handle it again?

@nazaninreihani
Copy link
Contributor Author

@arnabk is it necessary to include currency in login process?

@arnabk arnabk merged commit eaf9cf5 into regentmarkets-repo-archive:dev Aug 25, 2017
@nazaninreihani nazaninreihani deleted the token-issue branch October 9, 2017 11:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants