diff --git a/services/git-bridge/src/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java b/services/git-bridge/src/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java index 55188da04b..7d5d2f5a3b 100644 --- a/services/git-bridge/src/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java +++ b/services/git-bridge/src/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java @@ -37,7 +37,8 @@ public class SnapshotPushPostbackHandler extends AbstractHandler { } String data = sb.toString(); JsonObject dataObj = new Gson().fromJson(data, JsonObject.class); - writeLatexDataSource.postbackReceivedSuccessfully(request.getRequestURI().split("/")[0]); + System.out.println(request.getRequestURI()); + writeLatexDataSource.postbackReceivedSuccessfully(request.getRequestURI().split("/")[1]); baseRequest.setHandled(true); } }