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,10 +1,10 @@
import { LIST } from '../../sql/company.js';
export default function list(pool) {
return async (authId) => {
return async (googleAuthId) => {
const result = await pool
.request()
.input('authId', authId)
.input('googleAuthId', googleAuthId)
.query(LIST);
return result.recordset;
};