fixed reanalyse condition
This commit is contained in:
parent
567bb00377
commit
c1d5be8f63
@ -84,7 +84,7 @@ public class ReanalyzeService {
|
|||||||
var text = redactionStorageService.getText(analyzeRequest.getProjectId(), analyzeRequest.getFileId());
|
var text = redactionStorageService.getText(analyzeRequest.getProjectId(), analyzeRequest.getFileId());
|
||||||
|
|
||||||
// not yet ready for reanalysis
|
// not yet ready for reanalysis
|
||||||
if (text == null || text.getNumberOfPages() == 0) {
|
if (redactionLog == null || text == null || text.getNumberOfPages() == 0) {
|
||||||
return analyze(analyzeRequest);
|
return analyze(analyzeRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user