This commit is contained in:
seb
2026-07-31 09:00:14 +02:00
parent 4f98082061
commit 99dd76075e
24 changed files with 1477 additions and 1175 deletions

View File

@@ -1,11 +1,11 @@
import { ADD } from '../../sql/companyuser.js';
export default function add(pool) {
return async (companyId, authId) => {
return async (companyId, googleAuthId) => {
const result = await pool
.request()
.input('companyId', companyId)
.input('authId', authId)
.input('googleAuthId', googleAuthId)
.query(ADD);
return result.recordset[0].id;