diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-11-09 15:24:56 -0800 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-11-09 15:24:56 -0800 |
commit | d94643c217b6b93eb6c539c60b00fe0cf68272b7 (patch) | |
tree | ff27dd65b1580c5f498091684d32403577165426 /src/com/p4square/grow/frontend/VideosResource.java | |
parent | 5d7828e929a57042e3a0e6f6f2beafc60c748368 (diff) |
Refactored TrainingResource to use the Provider interface.
Playlists are now generated from a default playlist and regularly
merged with the default playlist to get updates.
Also adding the Question tests that got left out of a previous commit.
Diffstat (limited to 'src/com/p4square/grow/frontend/VideosResource.java')
-rw-r--r-- | src/com/p4square/grow/frontend/VideosResource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/p4square/grow/frontend/VideosResource.java b/src/com/p4square/grow/frontend/VideosResource.java index e85ecd4..957445d 100644 --- a/src/com/p4square/grow/frontend/VideosResource.java +++ b/src/com/p4square/grow/frontend/VideosResource.java @@ -83,7 +83,7 @@ public class VideosResource extends ServerResource { @Override protected Representation post(Representation entity) { Map<String, Object> data = new HashMap<String, Object>(); - data.put("completed", "t"); + data.put("complete", "true"); JsonResponse response = backendPut("/accounts/" + mUserId + "/training/videos/" + mVideoId, data); if (!response.getStatus().isSuccess()) { |