feat: refs #5926 remove comments and others
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
c248372e50
commit
ef931f71a0
|
@ -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: [
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ module.exports = Self => {
|
|||
, myOptions);
|
||||
|
||||
const signPda = await models.Worker.signPdaPdf(ctx,
|
||||
pdaId, workerFk
|
||||
{pdaId, workerFk}
|
||||
, myOptions);
|
||||
|
||||
const configTemplate = {
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue