Skip to content

Commit

Permalink
Merge pull request #3493 from uselagoon/advtask-envid-fix
Browse files Browse the repository at this point in the history
fix: use the right value for id in advancedtasks
  • Loading branch information
tobybellwood authored Jul 28, 2023
2 parents edc5647 + 169850a commit e8e6611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-packages/commons/src/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@ export const createMiscTask = async function(taskData: any) {
// inject variables into advanced tasks the same way it is in builds and standard tasks
const [_, envVars, projectVars] = await getTaskProjectEnvironmentVariables(
project.name,
taskData.environment.id
taskData.data.environment.id
)
miscTaskData.project.variables = {
project: projectVars,
Expand Down

0 comments on commit e8e6611

Please sign in to comment.