RevId should be optional for automation delete

This commit is contained in:
Mel O'Hagan 2022-04-20 12:11:36 +01:00
parent d85e022182
commit ec235a4e5c
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: {