afb-context: Move credentials to context
[src/app-framework-binder.git] / src / main-afb-daemon.c
index 077c716..a8d99ff 100644 (file)
@@ -662,7 +662,7 @@ static void startup_call_current(struct startup_req *sreq)
                json = strchr(verb, ':');
                if (json) {
                        afb_xreq_init(&sreq->xreq, &startup_xreq_itf);
-                       afb_context_init_validated(&sreq->xreq.context, sreq->session);
+                       afb_context_init_validated(&sreq->xreq.context, sreq->session, NULL, NULL);
                        sreq->api = strndup(api, verb - api);
                        sreq->verb = strndup(verb + 1, json - verb - 1);
                        sreq->xreq.request.called_api = sreq->api;