u
This commit is contained in:
@@ -432,7 +432,7 @@ SELECT
|
||||
a.sku,
|
||||
at.name,
|
||||
at.slug,
|
||||
at.[desc] AS description,
|
||||
at.[desc] AS [desc],
|
||||
at.seo AS seo,
|
||||
a.unitamount,
|
||||
a.weight,
|
||||
|
||||
@@ -3,7 +3,7 @@ export const ARTICLE_DETAIL_COLUMNS = `
|
||||
a.sku,
|
||||
at.name,
|
||||
at.slug,
|
||||
at.[desc] AS description,
|
||||
at.[desc] AS [desc],
|
||||
at.seo,
|
||||
a.unitamount,
|
||||
a.weight,
|
||||
|
||||
@@ -122,7 +122,7 @@ WITH auth AS (
|
||||
SELECT auth.*,
|
||||
json_object(
|
||||
'id', a.id, 'sku', a.sku, 'name', at.name, 'slug', at.slug,
|
||||
'description', at."desc", 'seo', at.seo,
|
||||
'desc', at."desc", 'seo', at.seo,
|
||||
'unitamount', a.unitamount, 'weight', a.weight,
|
||||
'track_stock', a.track_stock,
|
||||
'unitSi', u.si, 'unitBasesi', u.basesi,
|
||||
|
||||
Reference in New Issue
Block a user