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(wallet/backend): add permanently block card endpoint #1662

Merged
merged 8 commits into from
Oct 2, 2024

Conversation

sanducb
Copy link
Contributor

@sanducb sanducb commented Oct 1, 2024

Context

Changes

This PR adds the endpoint for terminating a card.

@sanducb sanducb linked an issue Oct 1, 2024 that may be closed by this pull request
3 tasks
@github-actions github-actions bot added package: wallet/backend Wallet backend implementations type: source Source changes labels Oct 1, 2024
@github-actions github-actions bot added the type: test Improvements or additions to tests label Oct 1, 2024
@sanducb sanducb marked this pull request as ready for review October 1, 2024 13:53
cardId: string,
reasonCode: BlockReasonCode
): Promise<ICardResponse> {
const walletAddress = await this.walletAddressService.getByCardId(
Copy link
Contributor

Choose a reason for hiding this comment

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

replace with ensureWalletAddressExists

@sanducb sanducb merged commit 314bc80 into main Oct 2, 2024
15 checks passed
@sanducb sanducb deleted the 1630-cards-wallet-backend-terminate-card branch October 2, 2024 13:06
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.

[Cards] Wallet Backend - Terminate card
2 participants