Skip to content

Commit

Permalink
Untested change to remove an extra slash in generating URL for getFit…
Browse files Browse the repository at this point in the history
…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
Anne Wright committed Feb 19, 2013
1 parent 36a1e6a commit e36a7a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e36a7a9

Please sign in to comment.