Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Conversation

@NicsWorld
Copy link

@NicsWorld NicsWorld commented May 3, 2024

This pull request improves the example scripts in a few ways:

Avatars:

  • Handled the promise returned by moov.avatars.get(UNIQUE_ID) by awaiting it
  • Wrapped the code that loads the credentials and initializes the Moov client in a try-catch block to handle any errors that may occur.

Create Transfer:

  • Added checks to ensure a matching payment method was found before trying to access its paymentMethodID property.
  • Removed the unused transfer constant

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