mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-01 18:47:20 +01:00
ProductBarcode: rename API call from getproductfromean to products/search-from-barcode
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user