spaps 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/local-server.js +3 -3
package/package.json
CHANGED
package/src/local-server.js
CHANGED
|
@@ -253,9 +253,9 @@ class LocalServer {
|
|
|
253
253
|
const productsWithPrices = await Promise.all(
|
|
254
254
|
products.data
|
|
255
255
|
.filter(product => {
|
|
256
|
-
// Only show products that
|
|
257
|
-
//
|
|
258
|
-
return
|
|
256
|
+
// Only show products that don't start with prod_local_ (which are local-only placeholders)
|
|
257
|
+
// These are the real Stripe products created from sync
|
|
258
|
+
return !product.id.startsWith('prod_local_');
|
|
259
259
|
})
|
|
260
260
|
.map(async (product) => {
|
|
261
261
|
const prices = await stripe.prices.list({
|