diff --git a/build/app/restapi/embedded_spec.go b/build/app/restapi/embedded_spec.go index 99f8d4f..8ca143e 100644 --- a/build/app/restapi/embedded_spec.go +++ b/build/app/restapi/embedded_spec.go @@ -117,7 +117,7 @@ func init() { "cmds": [ { "action": "exec", - "exec": "/bin/json2excel -inFile input.json -worksheetName \"{{ .WorksheetName }}\" -outputFilename '{{ .OutFilename }}'", + "exec": "/bin/json2excel -worksheetName \"{{ .WorksheetName }}\" -outputFilename '{{ .OutFilename }}'", "print": true, "silent": false }, @@ -276,7 +276,7 @@ func init() { "cmds": [ { "action": "exec", - "exec": "/bin/json2excel -inFile input.json -worksheetName \"{{ .WorksheetName }}\" -outputFilename '{{ .OutFilename }}'", + "exec": "/bin/json2excel -worksheetName \"{{ .WorksheetName }}\" -outputFilename '{{ .OutFilename }}'", "print": true, "silent": false }, diff --git a/build/app/restapi/operations/direktiv_post.go b/build/app/restapi/operations/direktiv_post.go index e8c10c0..605ec04 100644 --- a/build/app/restapi/operations/direktiv_post.go +++ b/build/app/restapi/operations/direktiv_post.go @@ -176,7 +176,7 @@ func runCommand0(ctx context.Context, params.DirektivDir, } - cmd, err := templateString(`/bin/json2excel -inFile input.json -worksheetName "{{ .WorksheetName }}" -outputFilename '{{ .OutFilename }}'`, at) + cmd, err := templateString(`/bin/json2excel -worksheetName "{{ .WorksheetName }}" -outputFilename '{{ .OutFilename }}'`, at) if err != nil { ri.Logger().Infof("error executing command: %v", err) ir[resultKey] = err.Error()