mirror of
https://github.com/plankanban/planka.git
synced 2025-08-09 15:35:29 +02:00
#27 fix name of file parameter
This commit is contained in:
parent
afca974f20
commit
0a63ada320
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ async function importFromTrello(inputs) {
|
|||
|
||||
const loadTrelloFile = async () =>
|
||||
new Promise((resolve, reject) => {
|
||||
fs.readFile(inputs.trelloFile.fd, (err, data) => {
|
||||
fs.readFile(inputs.file.fd, (err, data) => {
|
||||
const exp = data && JSON.parse(data);
|
||||
if (err) {
|
||||
reject(err);
|
||||
|
@ -126,7 +126,7 @@ module.exports = {
|
|||
type: 'ref',
|
||||
required: true,
|
||||
},
|
||||
trelloFile: {
|
||||
file: {
|
||||
type: 'json',
|
||||
required: true,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue