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

feat: fund card account after is verified #1775

Merged
merged 9 commits into from
Oct 25, 2024
Merged

Conversation

dragosp1011
Copy link
Contributor

Context

  • fixes #

Changes

@github-actions github-actions bot added package: wallet/backend Wallet backend implementations type: source Source changes labels Oct 25, 2024
@dragosp1011 dragosp1011 requested a review from golobitch October 25, 2024 11:44

await this.gateHubClient.changePin(token, cypher)

await User.query().findById(userId).patch({ isPinSet: true })

await this.fundAccount(cardAccount)
Copy link
Member

Choose a reason for hiding this comment

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

This should be done at sign up instead of doing it when we fetch the cards.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it is on set pin

@github-actions github-actions bot added the type: test Improvements or additions to tests label Oct 25, 2024
@dragosp1011 dragosp1011 merged commit 9fe374b into main Oct 25, 2024
15 checks passed
@dragosp1011 dragosp1011 deleted the fund-card-wallet branch October 25, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: wallet/backend Wallet backend implementations type: source Source changes type: test Improvements or additions to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants