From 4a1cfb6426db9a159ef2c6c338ffef1219ac2f49 Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 23 May 2024 12:27:56 +0200 Subject: [PATCH] Remove wallet check from payment model --- apps/app/src/components/modal/BaseModalRewardPayment.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/app/src/components/modal/BaseModalRewardPayment.vue b/apps/app/src/components/modal/BaseModalRewardPayment.vue index 2d403a461..dcced7947 100644 --- a/apps/app/src/components/modal/BaseModalRewardPayment.vue +++ b/apps/app/src/components/modal/BaseModalRewardPayment.vue @@ -128,8 +128,6 @@ export default defineComponent({ try { const walletStore = useWalletStore(); - if (!this.wallet) throw new Error('Please select a wallet.'); - await this.rewardStore.createPayment(this.reward.variant, this.reward._id, this.wallet); walletStore.list();