This commit is contained in:
parent
444b08c566
commit
5d933da28a
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue