Revert "Work in progress. Do not rely on this commit"
[pithos-web-client] / src / gr / grnet / pithos / web / client / VersionsList.java
index 66d4e6b..88f8aa2 100644 (file)
@@ -132,7 +132,7 @@ public class VersionsList extends Composite {
 
        void restoreVersion(int version) {
                String path = file.getUri() + "?update=";
-               PostRequest restoreVersion = new PostRequest(app, app.getApiPath(), file.getOwnerID(), path) {
+               PostRequest restoreVersion = new PostRequest(app.getApiPath(), file.getOwnerID(), path) {
                        
                        @Override
                        public void onSuccess(Resource result) {