- const char *uuid = afb_context_sent_uuid(&wsreq->context);
- const char *token = afb_context_sent_token(&wsreq->context);
- struct json_object *reply = afb_msg_json_reply(status, info, resp, token, uuid);
- aws_emit(wsreq->aws, retcode, wsreq->id, wsreq->idlen, reply, token);
+ struct json_object *reply = afb_msg_json_reply(status, info, resp, &wsreq->context, NULL);
+ aws_emit(wsreq->aws, retcode, wsreq->id, wsreq->idlen, reply, afb_context_sent_token(&wsreq->context));