aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-11 21:07:47 +0200
committerdefault <nobody@localhost>2023-04-11 21:07:47 +0200
commitc0a48f1f4e690cfe63b57e287fe917b5e27bfb87 (patch)
tree54fe55a2ef86851f9ebe007f34b2811179439241 /httpd.c
parent036be9d02ca2f96912cbd2dbad65ce9adea36b03 (diff)
Added support for likes and boosts.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd.c b/httpd.c
index d5de87c..7f6a428 100644
--- a/httpd.c
+++ b/httpd.c
@@ -188,15 +188,15 @@ void httpd_connection(FILE *f)
else
if (strcmp(method, "POST") == 0) {
if (status == 0)
- status = activitypub_post_handler(req, q_path,
+ status = oauth_post_handler(req, q_path,
payload, p_size, &body, &b_size, &ctype);
if (status == 0)
- status = oauth_post_handler(req, q_path,
+ status = mastoapi_post_handler(req, q_path,
payload, p_size, &body, &b_size, &ctype);
if (status == 0)
- status = mastoapi_post_handler(req, q_path,
+ status = activitypub_post_handler(req, q_path,
payload, p_size, &body, &b_size, &ctype);
if (status == 0)