Skip to content

Commit

Permalink
update validating recording logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Aug 24, 2023
1 parent 13fd473 commit 1164873
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ boolean isValid() {
boolean requestsBundledTemplate = requestsBundledTemplate();
boolean requestsEither = requestsCustomTemplate || requestsBundledTemplate;
boolean requestsBoth = requestsCustomTemplate && requestsBundledTemplate;
return requestsEither && !requestsBoth && !requestSnapshot();
return (requestsEither && !requestsBoth) || requestSnapshot();
}
}
}

0 comments on commit 1164873

Please sign in to comment.