Skip to content

Commit 6a7f8bf

Browse files
fixed conflicts
1 parent 3c712f6 commit 6a7f8bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/api/product.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class ProductsApi {
1111
}
1212

1313
async getProductAttributes(barcode: string): Promise<ProductAttribute[]> {
14-
const apiVersion = import.meta.env.VITE_API_VERSION || DEFAULT_API_VERSION;
14+
const apiVersion = import.meta.env.VITE_API_VERSION || '3';
1515
const url = `${API_HOST}/api/v${apiVersion}/product/${barcode}?fields=product_name,code,attribute_groups_en`;
1616

1717
const res = await this.fetch(url);

0 commit comments

Comments
 (0)