GWT UI: Send assignee input as json
Sending the assignee as plain text only worked due to the @DefaultInput annotation on the assignee field in AssigneeInput. Change-Id: I185b365f66faea6955115206318b1d7f0997b8ef Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -122,7 +122,7 @@ public class ChangeApi {
|
||||
AsyncCallback<AccountInfo> cb) {
|
||||
AssigneeInput input = AssigneeInput.create();
|
||||
input.assignee(user);
|
||||
change(id).view("assignee").put(user, cb);
|
||||
change(id).view("assignee").put(input, cb);
|
||||
}
|
||||
|
||||
public static RestApi comments(int id) {
|
||||
|
Reference in New Issue
Block a user