feat: refs #5926 remove comments and others
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-07-12 23:14:12 +02:00
parent c248372e50
commit ef931f71a0
4 changed files with 2 additions and 7 deletions

View File

@ -4,7 +4,7 @@ const UserError = require('vn-loopback/util/user-error');
module.exports = Self => {
Self.remoteMethod('download', {
description: 'Download an docuware PDF',
description: 'Download a docuware PDF',
accessType: 'READ',
accepts: [
{

View File

@ -18,7 +18,7 @@ module.exports = Self => {
, myOptions);
const signPda = await models.Worker.signPdaPdf(ctx,
pdaId, workerFk
{pdaId, workerFk}
, myOptions);
const configTemplate = {

View File

@ -1,5 +1,4 @@
const UserError = require('vn-loopback/util/user-error');
module.exports = Self => {
Self.rewriteDbError(function(err) {
if (err.code === 'ER_DUP_ENTRY')

View File

@ -7,10 +7,6 @@ module.exports = {
this.device = await this.findOneFromDef('device', [this.id]);
this.worker = await this.findOneFromDef('worker', [this.workerFk]);
},
computed: {
},
methods: {
},
props: {
id: {
type: Number,