parent
a4a959d875
commit
5a9bf4f32b
4 changed files with 175 additions and 9 deletions
|
@ -1,12 +1,4 @@
|
|||
U0 @slon_api_v1_custom_emojis_get(SlonHttpSession* session)
|
||||
{
|
||||
// SLON_SCRATCH_BUFFER_AND_REQUEST_JSON
|
||||
|
||||
if (@slon_api_authorized(session)) {
|
||||
// SLON_AUTH_ACCOUNT_ID
|
||||
// FIXME: Implement this
|
||||
session->send(SLON_EMPTY_JSON_ARRAY);
|
||||
} else {
|
||||
session->status(401);
|
||||
}
|
||||
session->send(db->a("custom_emojis"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue