Add a FIXME note on how to obtain the server URL for /user_catalogs call
authorChristos KK Loverdos <loverdos@gmail.com>
Fri, 1 Feb 2013 16:52:54 +0000 (18:52 +0200)
committerChristos KK Loverdos <loverdos@gmail.com>
Fri, 1 Feb 2013 16:52:54 +0000 (18:52 +0200)
src/gr/grnet/pithos/web/client/catalog/GetUserCatalogs.java

index 3cb6669..752dbbb 100644 (file)
@@ -43,6 +43,7 @@ public class GetUserCatalogs implements Scheduler.ScheduledCommand {
     public GetUserCatalogs(Pithos app, List<String> ids, List<String> names) {
         assert app != null;
 
+        // FIXME: Probably use Window.Location.getHost()
         // https://server.com/v1/ --> https://server.com
         String path = app.getApiPath();
         path = Helpers.stripTrailing(path, "/");