From 28a79291e4bceb813d25018bddec5842089a20b2 Mon Sep 17 00:00:00 2001 From: Maksym Novozhylov Date: Mon, 8 Dec 2014 15:39:55 +0100 Subject: [PATCH] Fix Workdiary API issue --- CHANGES.md | 1 + src/com/oDesk/api/Routers/Workdiary.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index cf7ef6a..2adacb6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,7 @@ * Added new Submission API - Submit for Approval * Added new Submission API - Approve the Submission * Added new Submission API - Reject the Submission +* Fixed issue in Workdiary API ## 0.1.10 * Added new call for Referenced User API diff --git a/src/com/oDesk/api/Routers/Workdiary.java b/src/com/oDesk/api/Routers/Workdiary.java index 8233255..1d862d1 100644 --- a/src/com/oDesk/api/Routers/Workdiary.java +++ b/src/com/oDesk/api/Routers/Workdiary.java @@ -54,7 +54,7 @@ public Workdiary(OAuthClient client) { * @return {@link JSONObject} */ public JSONObject get(String company, String username, String date, HashMap params) throws JSONException { - return oClient.get("/team/v1/workdiaries/" + company + "/" + "username" + "/" + date, params); + return oClient.get("/team/v1/workdiaries/" + company + "/" + username + "/" + date, params); } }