fix: Use correct column names in visibility-events query
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Changed name -> name_raw and brand -> brand_name_raw to match
store_products table schema.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Kelly
2025-12-16 02:21:01 -07:00
parent 4e7b3d2336
commit 8bd29d11bb

View File

@@ -110,8 +110,8 @@ export async function detectVisibilityEvents(
` `
SELECT SELECT
provider_product_id as id, provider_product_id as id,
name, name_raw as name,
brand, brand_name_raw as brand,
price_rec as price price_rec as price
FROM store_products FROM store_products
WHERE dispensary_id = $1 WHERE dispensary_id = $1