refactor(workerDms): adapat to lilium #2269
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Total Time Spent: 20 hours
Due Date
jsegarra
20 hours
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#2269
Loading…
Reference in New Issue
No description provided.
Delete Branch "6551-workerDms_refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -66,2 +70,2 @@
if (!docuwareDmsType || (docuwareDmsType && await models.DmsType.hasReadRole(ctx, docuwareDmsType))) {
const worker = await models.Worker.findById(id, {fields: ['fi', 'firstName', 'lastName']});
if (!filter.skip && (!docuwareDmsType || (docuwareDmsType && await models.DmsType.hasReadRole(ctx, docuwareDmsType)))) {
const worker = await models.Worker.findById(36471, {fields: ['fi', 'firstName', 'lastName']});
id,
@ -66,2 +70,2 @@
if (!docuwareDmsType || (docuwareDmsType && await models.DmsType.hasReadRole(ctx, docuwareDmsType))) {
const worker = await models.Worker.findById(id, {fields: ['fi', 'firstName', 'lastName']});
if (!filter.skip && (!docuwareDmsType || (docuwareDmsType && await models.DmsType.hasReadRole(ctx, docuwareDmsType)))) {
const worker = await models.Worker.findById(36471, {fields: ['fi', 'firstName', 'lastName']});
valor fijo?
Supongo que se asociado a un registro de BD?
Si es así, moverlo a una variable const para que con el nombre se sepa a que hace referencia