Change-Id: I6073c89e9e507d79f6bf09254376465959d34782
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
- json_object_object_add(result, "message", json_object_new_string(current_device));
- json_object_object_add(result, "user", json_object_new_string("The unplugged device wasn't the user key!"));
+ json_object_object_add(result, "message", json_object_new_string("The unplugged device wasn't the user key!"));
AFB_INFO("The unplugged device wasn't the user key!");
afb_event_broadcast(evt_failed, result);
}
AFB_INFO("The unplugged device wasn't the user key!");
afb_event_broadcast(evt_failed, result);
}