This commit is contained in:
seb
2026-10-03 23:13:36 +02:00
parent 1786879c4e
commit 9a7f345d8b
39 changed files with 4611 additions and 50 deletions

View File

@@ -1,8 +1,8 @@
import { getStore } from './store.js';
export async function createUnderParent({ googleAuthId, parentId, name, track_stock }) {
export async function createUnderParent({ googleAuthId, parentId, name, track_stock, sku }) {
const store = await getStore();
return store.article.createUnderParent({ googleAuthId, parentId, name, track_stock });
return store.article.createUnderParent({ googleAuthId, parentId, name, track_stock, sku });
}
export async function getBySku(googleAuthId, sku) {