From 0683ff1999dc5414f89c800ed607d48ef24546f4 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 17 Feb 2022 10:53:49 +0100 Subject: [PATCH] fixed backend deletedAt instead of disabled --- backend/src/graphql/resolver/TransactionResolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/graphql/resolver/TransactionResolver.ts b/backend/src/graphql/resolver/TransactionResolver.ts index 6eac816a8..622bf37fe 100644 --- a/backend/src/graphql/resolver/TransactionResolver.ts +++ b/backend/src/graphql/resolver/TransactionResolver.ts @@ -367,7 +367,7 @@ export class TransactionResolver { const recipiantUser = await userRepository.findByPubkeyHex(recipiantPublicKey) if (!recipiantUser) { throw new Error('Cannot find recipiant user by local send coins transaction') - } else if (recipiantUser.disabled) { + } else if (recipiantUser.deletedAt) { throw new Error('recipiant user account is disabled') }