This commit is contained in:
seb
2026-11-02 00:19:21 +01:00
parent 55f04de8a8
commit d0a33b1f82
35 changed files with 4919 additions and 3739 deletions

View File

@@ -89,9 +89,11 @@ export default function create(provider) {
companyId,
});
// The creator becomes the company's admin.
await runner.query(addCompanyUserSql, {
companyId,
googleAuthId,
role: 'admin',
});
return {