mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 12:09:55 +02:00
Everywhere: Make session->status() callable
This commit is contained in:
@@ -122,9 +122,9 @@ U0 @slon_api_v1_timelines_get(SlonHttpSession* session)
|
||||
goto slon_api_v1_timelines_get_return;
|
||||
}
|
||||
|
||||
@slon_http_set_status_code(session, 404);
|
||||
session->status(404);
|
||||
} else {
|
||||
@slon_http_set_status_code(session, 401);
|
||||
session->status(401);
|
||||
return;
|
||||
}
|
||||
slon_api_v1_timelines_get_return:
|
||||
|
||||
Reference in New Issue
Block a user