mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fixed backend deletedAt instead of disabled
This commit is contained in:
parent
864f1b085d
commit
0683ff1999
@ -367,7 +367,7 @@ export class TransactionResolver {
|
|||||||
const recipiantUser = await userRepository.findByPubkeyHex(recipiantPublicKey)
|
const recipiantUser = await userRepository.findByPubkeyHex(recipiantPublicKey)
|
||||||
if (!recipiantUser) {
|
if (!recipiantUser) {
|
||||||
throw new Error('Cannot find recipiant user by local send coins transaction')
|
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')
|
throw new Error('recipiant user account is disabled')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user