u
This commit is contained in:
@@ -5,6 +5,16 @@ export async function list(googleAuthId) {
|
||||
return store.brand.list(googleAuthId);
|
||||
}
|
||||
|
||||
export async function create(googleAuthId, data) {
|
||||
const store = await getStore();
|
||||
return store.brand.create(googleAuthId, data);
|
||||
}
|
||||
|
||||
export async function update(googleAuthId, id, data) {
|
||||
const store = await getStore();
|
||||
return store.brand.update(googleAuthId, id, data);
|
||||
}
|
||||
|
||||
export async function upsert(googleAuthId, data) {
|
||||
const store = await getStore();
|
||||
return store.brand.upsert(googleAuthId, data);
|
||||
|
||||
Reference in New Issue
Block a user