mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02:30
make sure surveys are enabled before adding a survey
This commit is contained in:
@@ -58,8 +58,9 @@ module.exports = {
|
|||||||
new_question: true
|
new_question: true
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
const surveyPatch = patch(promptNoPass.url, { survey_enabled: true });
|
|
||||||
Promise.all([surveyPost, surveyPatch])
|
surveyPost
|
||||||
|
.then(() => patch(promptNoPass.url, { survey_enabled: true }))
|
||||||
.then(done);
|
.then(done);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user