From e6612a138a906e965f434586f70b318363ac9473 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Fri, 4 Jan 2019 20:30:10 -0800 Subject: binding: bluetooth: change 'card' to 'handle' as field name To keep parameter and field repsonses consistent name 'card' to 'handle' which entry verb uses. Bug-AGL: SPEC-2095 Change-Id: I7964469a631b5aeb19814b595c4c4f4ca394040a Signed-off-by: Matt Ranostay --- binding/bluetooth-pbap-binding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binding') diff --git a/binding/bluetooth-pbap-binding.c b/binding/bluetooth-pbap-binding.c index 9d30ed6..daf9cee 100644 --- a/binding/bluetooth-pbap-binding.c +++ b/binding/bluetooth-pbap-binding.c @@ -415,7 +415,7 @@ static void search(afb_req_t request) json_object *result_obj = json_object_new_object(); json_object *card_str = json_object_new_string(card); json_object *name_str = json_object_new_string(name); - json_object_object_add(result_obj, "card", card_str); + json_object_object_add(result_obj, "handle", card_str); json_object_object_add(result_obj, "name", name_str); json_object_array_add(results_array, result_obj); g_free(card); -- cgit 1.2.3-korg