Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If `from equals to, return 100% directly #12

Closed
wants to merge 1 commit into from

Conversation

hotvulcan
Copy link

this fix when base === from === to, throw 'rates object does not contain either from or to currency!'

this fix when base === from === to, throw '`rates` object does not contain either `from` or `to` currency!'
xxczaki pushed a commit that referenced this pull request Jul 9, 2020
@xxczaki
Copy link
Member

xxczaki commented Jul 9, 2020

Thanks, added in afef56c 😄

@xxczaki xxczaki closed this Jul 9, 2020
@xxczaki xxczaki added the enhancement New feature or request label Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants