From 7a7268a5697b0b988bcabc00390878edee941b4e Mon Sep 17 00:00:00 2001 From: José Bollo Date: Fri, 22 Sep 2017 16:24:24 +0200 Subject: Provide API and VERB name of requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9a86c6314f871334231e50f9cea60b54aed434b9 Signed-off-by: José Bollo --- src/afb-ws-json1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/afb-ws-json1.c') diff --git a/src/afb-ws-json1.c b/src/afb-ws-json1.c index 774349ac..6215a684 100644 --- a/src/afb-ws-json1.c +++ b/src/afb-ws-json1.c @@ -193,8 +193,8 @@ static void aws_on_call(struct afb_ws_json1 *ws, const char *api, const char *ve afb_wsj1_msg_addref(msg); wsreq->msgj1 = msg; wsreq->xreq.cred = afb_cred_addref(ws->cred); - wsreq->xreq.api = api; - wsreq->xreq.verb = verb; + wsreq->xreq.request.api = api; + wsreq->xreq.request.verb = verb; wsreq->xreq.json = afb_wsj1_msg_object_j(wsreq->msgj1); wsreq->aws = afb_ws_json1_addref(ws); wsreq->xreq.listener = wsreq->aws->listener; -- cgit 1.2.3-korg