diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2019-11-16 09:25:02 +0100 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2019-11-25 11:48:31 +0100 |
commit | 7c67e966b8292961ca748e47d18ff437214cec1c (patch) | |
tree | 769662f089170328697f8d58eba7e68443ea4503 /src/afb-msg-json.c | |
parent | 0d3dc9722c610857c2f83c4f3bf06299f2426a95 (diff) |
Remove returning token
The token is no more generated by the binder
Bug-AGL: SPEC-2968
Change-Id: I43f66c7613b42d33058e167b831a93b2112d3b9e
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-msg-json.c')
-rw-r--r-- | src/afb-msg-json.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/afb-msg-json.c b/src/afb-msg-json.c index b1a83e73..fc736321 100644 --- a/src/afb-msg-json.c +++ b/src/afb-msg-json.c @@ -27,7 +27,7 @@ static const char _success_[] = "success"; struct json_object *afb_msg_json_reply(struct json_object *resp, const char *error, const char *info, struct afb_context *context) { json_object *msg, *request; - const char *token, *uuid; + const char *uuid; json_object *type_reply = NULL; msg = json_object_new_object(); @@ -45,10 +45,6 @@ struct json_object *afb_msg_json_reply(struct json_object *resp, const char *err json_object_object_add(request, "info", json_object_new_string(info)); if (context != NULL) { - token = afb_context_sent_token(context); - if (token != NULL) - json_object_object_add(request, "token", json_object_new_string(token)); - uuid = afb_context_sent_uuid(context); if (uuid != NULL) json_object_object_add(request, "uuid", json_object_new_string(uuid)); |