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:
@@ -5,7 +5,7 @@ U0 @slon_api_v1_custom_emojis_get(SlonHttpSession* session)
|
||||
if (@slon_api_authorized(session)) {
|
||||
// SLON_AUTH_ACCOUNT_ID
|
||||
// FIXME: Implement this
|
||||
@slon_http_send_json(session, SLON_EMPTY_JSON_ARRAY);
|
||||
session->send(SLON_EMPTY_JSON_ARRAY);
|
||||
} else {
|
||||
session->status(401);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user