Skip to content

Commit 18f12bf

Browse files
Less to sync
1 parent 933ce30 commit 18f12bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/dev/vml/es/acm/core/servlet/ScriptServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ protected void doPost(SlingHttpServletRequest request, SlingHttpServletResponse
156156
break;
157157
case SYNC:
158158
try {
159-
activator.reactivateTree(ScriptRepository.ROOT);
159+
activator.reactivateTree(ScriptType.AUTOMATIC.root());
160160
} catch (Exception e) {
161161
LOG.error("Script(s) cannot be synchronized!", e);
162162
respondJson(response, error("Script(s) cannot be synchronized! " + e.getMessage()));

0 commit comments

Comments
 (0)