mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 12:09:55 +02:00
Everywhere: Make session->send() callable
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user