Everywhere: Make session->send() callable
This commit is contained in:
parent
40b3fceab1
commit
c6f74cfa84
26 changed files with 87 additions and 48 deletions
|
@ -28,7 +28,7 @@ U0 @slon_webfinger(SlonHttpSession* session)
|
|||
links->append(Json.CreateItem(link_object, JSON_OBJECT));
|
||||
webfinger_object->set("links", links, JSON_ARRAY);
|
||||
|
||||
@slon_http_send_json(session, webfinger_object);
|
||||
session->send(webfinger_object);
|
||||
Json.Delete(webfinger_object);
|
||||
} else {
|
||||
session->status(404);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue