Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Untested change to remove an extra slash in generating URL for getFit…

…nessActivityFeed. The previous version generated URLs with a // in them because the keys of the digest specifying the fitness_activities URL suffix included a leading slash. However, for Anne's test machine both the previous and current versions generate a 404 error in getFitnessActivityFeed, so I can't say for sure that this change fixes anything.
  • Loading branch information...
1 parent 36a1e6a commit e36a7a93602432a6b266dbdcb52434bc7fb3344d Anne Wright committed
2  fluxtream-connectors/src/main/java/com/fluxtream/connectors/runkeeper/
@@ -61,7 +61,7 @@ private void updateData(final UpdateInfo updateInfo, final long since) throws Ex
JSONObject jsonObject = JSONObject.fromObject(body);
String fitnessActivities = jsonObject.getString("fitness_activities");
List<String> activities = new ArrayList<String>();
- String activityFeedURL = DEFAULT_ENDPOINT+"/" + fitnessActivities;
+ String activityFeedURL = DEFAULT_ENDPOINT + fitnessActivities;
getFitnessActivityFeed(service, token, activityFeedURL, 25, activities, since);
getFitnessActivities(updateInfo, service, token, activities);

0 comments on commit e36a7a9

Please sign in to comment.
Something went wrong with that request. Please try again.