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

fix: correct readme instructions on how to access fiat methods #173

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

Toheeb-Ojuolape
Copy link
Contributor

@Toheeb-Ojuolape Toheeb-Ojuolape commented Nov 19, 2024

What type of PR is this? (check all applicable)

  • ♻️ Refactor
  • ✨ New Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 👷 Example Application
  • 🧑‍💻 Code Snippet
  • 🎨 Design
  • 📖 Content
  • 🧪 Tests
  • 🔖 Release
  • 🚩 Other

Description

This PR implements corrections to the fiat examples in the README by ensuring that an object is being passed to the fiat methods. It also shows users the correct way of using the getFiatValue, getSatoshiValue and getFormattedFiatValue as they cannot be imported directly from the @getalby/lightning-tools without first importing { fiat }

Related Tickets & Documents

Resolves #128

@bumi
Copy link
Contributor

bumi commented Nov 19, 2024

oh thank you.

@Toheeb-Ojuolape
Copy link
Contributor Author

oh thank you.

My pleasure @bumi . Do let me know if there's any other way I can be of service

@rolznz rolznz merged commit 909e74e into getAlby:master Nov 20, 2024
3 checks passed
@rolznz
Copy link
Contributor

rolznz commented Nov 20, 2024

Thanks @Toheeb-Ojuolape !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fiat examples in README are wrong
3 participants