Revision ee77dbf1 src/gr/grnet/pithos/web/client/commands/ToTrashCommand.java

b/src/gr/grnet/pithos/web/client/commands/ToTrashCommand.java
127 127
        if (iter.hasNext()) {
128 128
            File file = iter.next();
129 129
            String path = "/" + Const.TRASH_CONTAINER + "/" + file.getPath();
130
            PutRequest trashFile = new PutRequest(app.getApiPath(), app.getUserID(), path) {
130
            PutRequest trashFile = new PutRequest(app, app.getApiPath(), app.getUserID(), path) {
131 131
                @Override
132 132
                public void onSuccess(Resource result) {
133 133
                    trashFiles(iter, callback);

Also available in: Unified diff