feat: implement automated procurement synchronization and API endpoints for supply chain management

This commit is contained in:
Michael committed 2026-04-09 08:18:10 +02:00
1 parent 6e5bc3bc07
commit d74cdeb7b3
2 files changed
+7 -2

No files matched your search

+4
View File
@@ -24,6 +24,10 @@ let pgPool = null;
async function getMssql() {
if (!mssqlPool) {
mssqlPool = await sql.connect(mssqlConfig);
mssqlPool.on('error', (err) => {
console.error('[mssql] Pool error, reconnexion au prochain appel:', err.message);
mssqlPool = null;
});
}
return mssqlPool;
}