Tidy: drop two pieces of dead code (#216)

- server/src/routes/checkout.js: remove unused createBillingPortalSession
  from the destructuring import. The portal logic lives in
  routes/billing.js; checkout.js never called it.
- src/background/events.js: remove a stale commented-out
  browser.runtime.openOptionsPage() line.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lawrence Hook
2026-05-06 21:54:42 -04:00
committed by GitHub
parent 8bd023881d
commit 5df6c5b99a
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
const express = require('express'); const express = require('express');
const { requireAuth } = require('../services/jwt'); const { requireAuth } = require('../services/jwt');
const { createCheckoutSession, createBillingPortalSession } = require('../services/stripe'); const { createCheckoutSession } = require('../services/stripe');
const { renderPage } = require('../templates'); const { renderPage } = require('../templates');
const router = express.Router(); const router = express.Router();
-2
View File
@@ -3,8 +3,6 @@ if (typeof browser === 'undefined') {
browser = typeof chrome !== 'undefined' ? chrome : null; browser = typeof chrome !== 'undefined' ? chrome : null;
} }
// browser.runtime.openOptionsPage();
const uninstallUrl = "http://lawrencehook.com/rys/👋"; const uninstallUrl = "http://lawrencehook.com/rys/👋";
browser.runtime.setUninstallURL(uninstallUrl); browser.runtime.setUninstallURL(uninstallUrl);