From c4c83918046795d17714f338477ec620c6091b3e Mon Sep 17 00:00:00 2001 From: Stuart Date: Sun, 23 Aug 2026 15:22:04 +1000 Subject: [PATCH] chore: drop legacy email from get-subscription request body The server derives the caller's email from the verified session JWT and never reads the body field, so it was dead weight. Pairs with the buildship revenue-attribution flow. --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 29644b3..5bb0d34 100644 --- a/app.js +++ b/app.js @@ -4560,7 +4560,7 @@ async function fetchSubscription(options = {}) { const res = await fetch(`${BUILDSHIP_BASE_URL}/stripe/get-subscription`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ sessionToken: authState.sessionToken, email: authState.email, user_id: identityState.userId }) + body: JSON.stringify({ sessionToken: authState.sessionToken, user_id: identityState.userId }) }) const data = await res.json()