[object Object]

← back to Hospitalitywallcoverings

drop stale leftover comment in /api/products handler

2585e9a260591dd27c364d6b428fc94d5f295807 · 2026-05-18 20:38:35 -0700 · Steve Abrams

Files touched

Diff

commit 2585e9a260591dd27c364d6b428fc94d5f295807
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon May 18 20:38:35 2026 -0700

    drop stale leftover comment in /api/products handler
---
 server.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/server.js b/server.js
index 4f1af4a..46e03c3 100644
--- a/server.js
+++ b/server.js
@@ -169,7 +169,6 @@ app.get('/api/products', (req, res) => {
   const lim = Math.min(60, parseInt(limit) || 24);
   const start = (pageNum - 1) * lim;
   res.json({ total, page: pageNum, limit: lim, pages: Math.ceil(total/lim), sort, items: list.slice(start, start + lim) });
-  // (replaced) old: pages: Math.ceil(total / lim), items: list.slice(start, start + lim) });
 });
 
 app.get('/api/sliders', (req, res) => {

← 312521e remove dead PRODUCTS_ORIG alias and unused __products_niche_  ·  back to Hospitalitywallcoverings  ·  stage2: wire microsite catalog + admin CRUD + grid/list view 1922a90 →