Changeset b9beb16 in Klonkt for src/routes/paid.js


Ignore:
Timestamp:
07/21/2026 03:29:56 AM (7 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
4590e66
Parents:
072a242
git-author:
Robin <roboburr@…> (07/21/2026 03:29:53 AM)
git-committer:
Robin <roboburr@…> (07/21/2026 03:29:56 AM)
Message:

Cleanup: remove the on-screen patron diagnose line (bug found + fixed)

The visible "diagnose:" line on the "Nog geen supporter" page was a temporary
aid to debug boiert.eu blind; it did its job (a wrong campaign_id, now
auto-derived). Drop it from the page. The non-identifying server-side
console.warn in verifyPatron stays as ordinary owner diagnostics.

Changed files:
src/routes/paid.js

  • stop passing debug to the result page

src/views/pages/paid-result.ejs

  • remove the diagnose line + its style

-robo
Co-Authored-By: Claude Opus 4.8 <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/routes/paid.js

    r072a242 rb9beb16  
    6969      pageTitle: 'Ontgrendelen', bodyClass: 'on-special', ok: false,
    7070      reason: active ? 'tier' : 'notpatron', neededCents: payload.cents, haveCents: cents, postSlug: payload.post, patronUrl,
    71       debug: membership ? membership.diag : 'no_response',
    7271    });
    7372  }
Note: See TracChangeset for help on using the changeset viewer.