Add a FIXME note on how to obtain the server URL for /user_catalogs call
[pithos-web-client] / 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, "/");