RevId should be optional for automation delete

This commit is contained in:
Mel O'Hagan 2022-04-20 12:11:36 +01:00
parent 9b5ad2dacc
commit 611b170874
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ exports.definition = {
}
exports.run = async function ({ inputs, appId, emitter }) {
if (inputs.id == null || inputs.revision == null) {
if (inputs.id == null) {
return {
success: false,
response: {