u
This commit is contained in:
@@ -5,9 +5,9 @@ export async function listCompanies(authId) {
|
||||
return store.company.list(authId);
|
||||
}
|
||||
|
||||
export async function createCompany(authId, data) {
|
||||
export async function createCompany(googleAuthId, data) {
|
||||
const store = await getStore();
|
||||
return store.company.create({ ...data, authId });
|
||||
return store.company.create({ ...data, googleAuthId });
|
||||
}
|
||||
|
||||
export async function updateCompany(id, data) {
|
||||
|
||||
Reference in New Issue
Block a user