1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-09 07:25:24 +02:00

#27 fix name of file parameter

This commit is contained in:
Christoph Enne 2022-12-08 17:30:09 +01:00
parent afca974f20
commit 0a63ada320

View file

@ -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,
},