This commit is contained in:
seb
2026-07-31 09:12:36 +02:00
parent 52355aba4a
commit 18ee68312f
4 changed files with 124 additions and 2 deletions

View File

@@ -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) {