5712-workerDms_integrateDocuware #1577

Merged
alexm merged 14 commits from 5712-workerDms_integrateDocuware into dev 2023-07-25 05:18:06 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 5d933da28a - Show all commits

View File

@ -72,7 +72,7 @@ module.exports = Self => {
'Document ID': 'id'
};
workerDocuware =
await models.Docuware.getById('hr', worker.lastName + worker.firstName, docuwareParse);
await models.Docuware.getById('hr', worker.lastName + worker.firstName, docuwareParse) ?? [];
for (document of workerDocuware) {
const defaultData = {
file: 'dw' + document.id + '.png',