summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 4d80f69..36f7238 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -2119,8 +2119,6 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
2119 if (!xs_startswith(q_path, "/api/v1/") && !xs_startswith(q_path, "/api/v2/")) 2119 if (!xs_startswith(q_path, "/api/v1/") && !xs_startswith(q_path, "/api/v2/"))
2120 return 0; 2120 return 0;
2121 2121
2122 srv_debug(1, xs_fmt("mastoapi_post_handler %s", q_path));
2123
2124 int status = 404; 2122 int status = 404;
2125 xs *args = NULL; 2123 xs *args = NULL;
2126 char *i_ctype = xs_dict_get(req, "content-type"); 2124 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,
2626 if (logged_in) 2624 if (logged_in)
2627 user_free(&snac); 2625 user_free(&snac);
2628 2626
2627 srv_debug(1, xs_fmt("mastoapi_post_handler %s %d", q_path, status));
2628
2629 return status; 2629 return status;
2630} 2630}
2631 2631