Everywhere: Make session->status() callable
This commit is contained in:
parent
ca8e7ae7f6
commit
6813c13ab3
23 changed files with 100 additions and 74 deletions
|
@ -7,6 +7,6 @@ U0 @slon_api_v1_favourites_get(SlonHttpSession* session)
|
|||
// FIXME: Implement this
|
||||
@slon_http_send_json(session, SLON_EMPTY_JSON_ARRAY);
|
||||
} else {
|
||||
@slon_http_set_status_code(session, 401);
|
||||
session->status(401);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue