u
This commit is contained in:
@@ -149,6 +149,12 @@ export async function create(googleAuthId, data) {
|
||||
return enrichSingleOrder(store, googleAuthId, order);
|
||||
}
|
||||
|
||||
export async function createFromQuote(googleAuthId, quoteId, data) {
|
||||
const store = await getStore();
|
||||
const order = await store.order.createFromQuote(googleAuthId, quoteId, data);
|
||||
return enrichSingleOrder(store, googleAuthId, order);
|
||||
}
|
||||
|
||||
export async function update(googleAuthId, id, data) {
|
||||
const store = await getStore();
|
||||
const order = await store.order.update(googleAuthId, id, data);
|
||||
|
||||
Reference in New Issue
Block a user