1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 09:46:17 +00:00

Fix OCR all files batch

This commit is contained in:
jendib
2013-08-17 16:59:16 +02:00
parent e2bd85da5f
commit 5451c79674
2 changed files with 3 additions and 4 deletions

View File

@@ -155,8 +155,7 @@ public class AppResource extends BaseResource {
checkBaseFunction(BaseFunction.ADMIN);
// Raise a OCR file event
OcrFileAsyncEvent ocrFileAsyncEvent = new OcrFileAsyncEvent();
AppContext.getInstance().getAsyncEventBus().post(ocrFileAsyncEvent);
AppContext.getInstance().getAsyncEventBus().post(new OcrFileAsyncEvent());
JSONObject response = new JSONObject();
response.put("status", "ok");