summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-01-04 20:30:10 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-01-04 20:38:10 -0800
commite6612a138a906e965f434586f70b318363ac9473 (patch)
treedb282df7880cbcac0ea3bef1be1a0aa27fd5d7c5 /binding
parent5a8da86bb274c3c665a7cf364335fe181f546132 (diff)
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 <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding')
-rw-r--r--binding/bluetooth-pbap-binding.c2
1 files changed, 1 insertions, 1 deletions
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);