ProductBarcode: rename API call from getproductfromean to products/search-from-barcode

This commit is contained in:
Crumb Owl
2025-07-02 22:58:42 +02:00
parent 24923f2a83
commit 4a4bf9a175
11 changed files with 162 additions and 154 deletions

View File

@@ -152,7 +152,7 @@
async function retrieveProductInfo(barcode: string) {
products.value = null;
searching.value = true;
const result = await api.actions.getEAN(barcode);
const result = await api.products.searchFromBarcode(barcode);
searching.value = false;
if(result.error)