Skip to content

Commit

Permalink
Update action.js
Browse files Browse the repository at this point in the history
  • Loading branch information
malmstein committed Jan 22, 2024
1 parent d8f3ebd commit 53ac1ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ async function createTask(client, name, description, projectId) {
}

async function createTaskInSection(client, name, description, projectId, sectionId) {
console.log('creating new task in section', name);
console.log('creating new task in section', sectionId);
let createdTaskId = "0"
try {
await client.tasks.createTask({name: name,
Expand All @@ -280,7 +280,7 @@ async function createTaskInSection(client, name, description, projectId, section
.then((result) => {
createdTaskId = result.gid
console.log('task created in section', createdTaskId);
core.setOutput('taskId', existingTaskId)
core.setOutput('taskId', createdTaskId)
core.setOutput('duplicate', false)
})
} catch (error) {
Expand Down

0 comments on commit 53ac1ee

Please sign in to comment.