the value of id field shoud be a string not an integer
so {si} is replaced by {ss}
Change-Id: Ief8a1e56295085cfe818301fd0073399a3ae6315
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
/* get the appid if any */
if (!wrap_json_unpack(json, "s", appid)
/* get the appid if any */
if (!wrap_json_unpack(json, "s", appid)
- || !wrap_json_unpack(json, "{si}", _id_, appid)) {
+ || !wrap_json_unpack(json, "{ss}", _id_, appid)) {
/* found */
INFO("method %s called for %s", method, *appid);
return 1;
/* found */
INFO("method %s called for %s", method, *appid);
return 1;