diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-01-04 20:30:10 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-01-04 20:32:32 -0800 |
commit | adf5bfa2df5da20ea94bdff2bffc012708b534a9 (patch) | |
tree | 48fd073ac8110e682db8ec10baa5c39ee850a95f | |
parent | 0827ed6a3531ce82acf92212a9e9acc6b770c689 (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>
-rw-r--r-- | binding/bluetooth-pbap-binding.c | 2 |
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); |