This commit is contained in:
parent
444b08c566
commit
5d933da28a
|
@ -72,7 +72,7 @@ module.exports = Self => {
|
||||||
'Document ID': 'id'
|
'Document ID': 'id'
|
||||||
};
|
};
|
||||||
workerDocuware =
|
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) {
|
for (document of workerDocuware) {
|
||||||
const defaultData = {
|
const defaultData = {
|
||||||
file: 'dw' + document.id + '.png',
|
file: 'dw' + document.id + '.png',
|
||||||
|
|
Loading…
Reference in New Issue