This commit is contained in:
seb
2026-07-31 00:20:20 +02:00
parent 6bdac7e543
commit af8ef0a788
23 changed files with 421 additions and 123 deletions

View File

@@ -0,0 +1,11 @@
import sql from 'mssql';
import { DELETE } from '../../sql/company.js';
export default function del(pool) {
return async (companyId) => {
await pool
.request()
.input('companyId', sql.Int, companyId)
.query(DELETE);
};
}