diff --git a/api/resolvers/sub.js b/api/resolvers/sub.js index dcd09303..e7a63fa9 100644 --- a/api/resolvers/sub.js +++ b/api/resolvers/sub.js @@ -367,7 +367,7 @@ export default { ].filter(q => !!q), { 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: {