fix: correct import path for GetProductsDocument
All checks were successful
Build Docker Image / build (push) Successful in 3m47s
All checks were successful
Build Docker Image / build (push) Successful in 3m47s
This commit is contained in:
@@ -186,7 +186,7 @@ const handleSearch = () => {
|
|||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
try {
|
try {
|
||||||
const { query } = useGraphQL()
|
const { query } = useGraphQL()
|
||||||
const { GetProductsDocument } = await import('~/composables/graphql/exchange/products-generated')
|
const { GetProductsDocument } = await import('~/composables/graphql/public/exchange-generated')
|
||||||
const result = await query(GetProductsDocument, {}, 'exchange', 'public')
|
const result = await query(GetProductsDocument, {}, 'exchange', 'public')
|
||||||
allProducts.value = result.getProducts || []
|
allProducts.value = result.getProducts || []
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user