Fix territory transfer sent to everyone (#946)
This commit is contained in:
parent
e8f9a186c6
commit
b35302ccdc
@ -367,7 +367,7 @@ export default {
|
|||||||
].filter(q => !!q),
|
].filter(q => !!q),
|
||||||
{ models, lnd, hash, hmac, me, enforceFee: billingCost })
|
{ models, lnd, hash, hmac, me, enforceFee: billingCost })
|
||||||
|
|
||||||
if (oldSub.userId !== me.id) notifyTerritoryTransfer({ models, sub: newSub, to: me.id })
|
if (oldSub.userId !== me.id) notifyTerritoryTransfer({ models, sub: newSub, to: me })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Sub: {
|
Sub: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user