fix: Use correct column names in visibility-events query
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user