u
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user