summaryrefslogtreecommitdiffstats
path: root/src/afm-binding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afm-binding.c')
-rw-r--r--src/afm-binding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afm-binding.c b/src/afm-binding.c
index 037c108..f4bba8a 100644
--- a/src/afm-binding.c
+++ b/src/afm-binding.c
@@ -244,7 +244,7 @@ static int onappid(afb_req_t req, const char *method, const char **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;