summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend/VideosResource.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-11-09 15:24:56 -0800
committerJesse Morgan <jesse@jesterpm.net>2013-11-09 15:24:56 -0800
commit0d90da39f77ac3cfa607a68bc59336bf0bdff240 (patch)
tree1a2133dea8035004052e1fddf9b4c022fb8e21e1 /src/com/p4square/grow/frontend/VideosResource.java
parentebbfb39ca9b63c170ca7b609dd07d234d89ab23a (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.java2
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 caf8dc1..2099a77 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()) {