mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
make sure surveys are enabled before adding a survey
This commit is contained in:
parent
9ae5ffc8ca
commit
ef4607b29f
@ -58,8 +58,9 @@ module.exports = {
|
||||
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);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user