fix id
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
0ecc09fcc4
commit
500244dbed
|
@ -68,7 +68,7 @@ module.exports = Self => {
|
||||||
const docuwareDmsType = docuware.dmsTypeFk;
|
const docuwareDmsType = docuware.dmsTypeFk;
|
||||||
let workerDocuware = [];
|
let workerDocuware = [];
|
||||||
if (!filter.skip && (!docuwareDmsType || (docuwareDmsType && await models.DmsType.hasReadRole(ctx, docuwareDmsType)))) {
|
if (!filter.skip && (!docuwareDmsType || (docuwareDmsType && await models.DmsType.hasReadRole(ctx, docuwareDmsType)))) {
|
||||||
const worker = await models.Worker.findById(36471, {fields: ['fi', 'firstName', 'lastName']});
|
const worker = await models.Worker.findById(id, {fields: ['fi', 'firstName', 'lastName']});
|
||||||
const docuwareParse = {
|
const docuwareParse = {
|
||||||
'Filename': 'dmsFk',
|
'Filename': 'dmsFk',
|
||||||
'Tipo Documento': 'description',
|
'Tipo Documento': 'description',
|
||||||
|
|
Loading…
Reference in New Issue