From b35302ccdc61d86d24fd09d7739311f6a17b035d Mon Sep 17 00:00:00 2001 From: ekzyis Date: Wed, 20 Mar 2024 22:45:30 +0100 Subject: [PATCH] Fix territory transfer sent to everyone (#946) --- api/resolvers/sub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {