File tree Expand file tree Collapse file tree
clients/trieve-shopify-extension
extensions/enrich-content-block Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,13 +125,12 @@ export const validateTrieveAuth = async <S extends boolean = true>(
125125 console . error ( e ) ;
126126 throw e ;
127127 } ) ;
128-
129128 const userCredentials =
130129 ( await userCredentialsResponse . json ( ) ) as CreateApiUserResponse ;
131130
132131 if ( ! userCredentials . api_key ) {
133132 console . error (
134- "SHopify secret key is not set" ,
133+ "Shopify secret key is not set" ,
135134 process . env . SHOPIFY_SECRET_KEY ,
136135 ) ;
137136 throw new Error (
Original file line number Diff line number Diff line change 11{
2- "name" : " enrich-content-block " ,
2+ "name" : " Trieve Product Description Enrichment " ,
33 "welcome" : " Welcome to the {{target}} extension!"
44}
Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ export const useChunkExtraContent = (productId: string | undefined) => {
8585 chunk_html : content ,
8686 tracking_id : `${ productId } -pdp-content` ,
8787 upsert_by_tracking_id : true ,
88- weight : 100 ,
8988 group_tracking_ids : [ productId ] ,
9089 } ) ;
9190 setLoading ( false ) ;
You can’t perform that action at this time.
0 commit comments