From 081b76c21f5dcc16cb9d7df11ab4903aac0f2111 Mon Sep 17 00:00:00 2001
From: norcnorc <norcnorc@users.noreply.github.com>
Date: Tue, 27 Jan 2015 18:10:06 +0100
Subject: fix incorrect user parameter name for createSubtask, updateSubtask in
 json-RPC API

Changing the documentation and python example to match what the server code says: "user_id", not "assignee_id".
---
 docs/api-json-rpc.markdown | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'docs')

diff --git a/docs/api-json-rpc.markdown b/docs/api-json-rpc.markdown
index 184739ad..565aa530 100644
--- a/docs/api-json-rpc.markdown
+++ b/docs/api-json-rpc.markdown
@@ -1879,7 +1879,7 @@ Response example:
 - Parameters:
     - **task_id** (integer, required)
     - **title** (integer, required)
-    - **assignee_id** (int, optional)
+    - **user_id** (int, optional)
     - **time_estimated** (int, optional)
     - **time_spent** (int, optional)
     - **status** (int, optional)
@@ -1996,7 +1996,7 @@ Response example:
     - **id** (integer, required)
     - **task_id** (integer, required)
     - **title** (integer, optional)
-    - **assignee_id** (integer, optional)
+    - **user_id** (integer, optional)
     - **time_estimated** (integer, optional)
     - **time_spent** (integer, optional)
     - **status** (integer, optional)
-- 
cgit v1.2.3