mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix lint
This commit is contained in:
parent
715d51272c
commit
b6bfd55c98
@ -326,7 +326,7 @@ async function sendCoins(
|
||||
|
||||
const userRepository = getCustomRepository(UserRepository)
|
||||
const recipiantUser = await userRepository.findByPubkeyHex(recipiantPublicKey)
|
||||
if(recipiantUser && recipiantUser.disabled) {
|
||||
if (recipiantUser && recipiantUser.disabled) {
|
||||
throw new Error('recipiant user account is disabled')
|
||||
}
|
||||
|
||||
@ -338,7 +338,6 @@ async function sendCoins(
|
||||
|
||||
// no group id is given so we assume it is a local transfer
|
||||
if (!groupId) {
|
||||
|
||||
const localTransfer = new proto.gradido.LocalTransfer({
|
||||
sender: transferAmount,
|
||||
recipiant: fromHex(recipiantPublicKey),
|
||||
@ -370,8 +369,6 @@ async function sendCoins(
|
||||
ed25519: sign,
|
||||
})
|
||||
const sigMap = new proto.gradido.SignatureMap({ sigPair: [sigPair] })
|
||||
|
||||
|
||||
|
||||
// process db updates as transaction to able to rollback if an error occure
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user