codex/add-barcode-scan-to-item #6
@@ -605,7 +605,7 @@ export function stockDetailPageData(store) {
|
||||
this.identifierState.error = '';
|
||||
await runAsyncState(this.identifierState, async () => {
|
||||
const identifierCode = normalizeIdentifierCode(this.identifierDraft);
|
||||
const updated = await updateStockItem(store, this.entry.uuid_b64, {
|
||||
const updated = await patchStockItem(store, this.entry.uuid_b64, {
|
||||
identifier_code: identifierCode || null,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user