description
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-06-13 12:42:12 +02:00
parent 92953b9aa8
commit dd4b62d0a5
1 changed files with 1 additions and 3 deletions

View File

@ -3,7 +3,7 @@ const axios = require('axios');
module.exports = Self => { module.exports = Self => {
Self.remoteMethodCtx('upload', { Self.remoteMethodCtx('upload', {
description: 'Upload an docuware PDF', description: 'Upload docuware PDFs',
accessType: 'WRITE', accessType: 'WRITE',
accepts: [ accepts: [
{ {
@ -39,8 +39,6 @@ module.exports = Self => {
const dialogId = await Self.getDialog(fileCabinet, action, fileCabinetId); const dialogId = await Self.getDialog(fileCabinet, action, fileCabinetId);
const uploaded = []; const uploaded = [];
// get delivery note
for (id of ticketIds) { for (id of ticketIds) {
// get delivery note // get delivery note
ctx.args.id = id; ctx.args.id = id;