mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Log status in mastoapi_post_handler().
This commit is contained in:
parent
ad4199de75
commit
c9df6707ab
1 changed files with 2 additions and 2 deletions
|
@ -2119,8 +2119,6 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
|
|||
if (!xs_startswith(q_path, "/api/v1/") && !xs_startswith(q_path, "/api/v2/"))
|
||||
return 0;
|
||||
|
||||
srv_debug(1, xs_fmt("mastoapi_post_handler %s", q_path));
|
||||
|
||||
int status = 404;
|
||||
xs *args = NULL;
|
||||
char *i_ctype = xs_dict_get(req, "content-type");
|
||||
|
@ -2626,6 +2624,8 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
|
|||
if (logged_in)
|
||||
user_free(&snac);
|
||||
|
||||
srv_debug(1, xs_fmt("mastoapi_post_handler %s %d", q_path, status));
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue