u
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { getStore } from './store.js';
|
||||
import { requireSelectedCompanyAdmin } from './companyuser.js';
|
||||
|
||||
export async function list(googleAuthId) {
|
||||
const store = await getStore();
|
||||
@@ -6,6 +7,7 @@ export async function list(googleAuthId) {
|
||||
}
|
||||
|
||||
export async function update(googleAuthId, id, input) {
|
||||
await requireSelectedCompanyAdmin(googleAuthId);
|
||||
const store = await getStore();
|
||||
return store.numbers.update(googleAuthId, id, input);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user