diff --git a/public/assets/my.js b/public/assets/my.js
index 0571dd1..a286cc5 100644
--- a/public/assets/my.js
+++ b/public/assets/my.js
@@ -14,7 +14,7 @@
// if they arrived through a sponsor's link, show who they're joining under
(async () => {
try {
- const sp = await (await fetch('/api/sponsor')).json();
+ const sp = await (await fetch('/api/sponsor?intent=view')).json(); // display only: never an alert
if (sp && sp.invited && sp.name && $('sponsorNote')) { $('sponsorNoteName').textContent = sp.name; $('sponsorNote').hidden = false; }
} catch (e) {}
})();
@@ -2217,7 +2217,7 @@
}
if (cur !== wantAddr) throw new Error('Your wallet connected as ' + cur.slice(0, 6) + '…' + cur.slice(-4) + ' but you chose ' + wantAddr.slice(0, 6) + '…' + wantAddr.slice(-4) + '. Switch accounts in your wallet app and try again.');
}
- const spNow = fromPos ? { sponsorId: meNow.memberId } : await jretry('/api/sponsor');
+ const spNow = fromPos ? { sponsorId: meNow.memberId } : await jretry('/api/sponsor?intent=buy');
if (!fromPos && !meNow.memberId && spNow.sponsorBlocked) { IAP.status(sponsorHoldText(spNow), 'bad'); return; } // first activation must not hand a sponsored member to the company
if (!fromPos && !meNow.memberId && spNow.sponsorRouted) IAP.status((spNow.sponsorRouted.from || 'Your sponsor') + ' has not switched on payouts, so this purchase credits ' + spNow.sponsorRouted.to + ' instead. You are not held up; carrying on.', 'ok');
// pre-flight: stop early if the POL is not there. Trust Wallet also hard-blocks any
diff --git a/public/my.html b/public/my.html
index 27ee3fb..b4a2d12 100644
--- a/public/my.html
+++ b/public/my.html
@@ -1070,7 +1070,7 @@
-
+