diff options
| author | 2023-04-11 21:07:47 +0200 | |
|---|---|---|
| committer | 2023-04-11 21:07:47 +0200 | |
| commit | c0a48f1f4e690cfe63b57e287fe917b5e27bfb87 (patch) | |
| tree | 54fe55a2ef86851f9ebe007f34b2811179439241 /httpd.c | |
| parent | Added some comments. (diff) | |
| download | snac2-c0a48f1f4e690cfe63b57e287fe917b5e27bfb87.tar.gz snac2-c0a48f1f4e690cfe63b57e287fe917b5e27bfb87.tar.xz snac2-c0a48f1f4e690cfe63b57e287fe917b5e27bfb87.zip | |
Added support for likes and boosts.
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -188,15 +188,15 @@ void httpd_connection(FILE *f) | |||
| 188 | else | 188 | else |
| 189 | if (strcmp(method, "POST") == 0) { | 189 | if (strcmp(method, "POST") == 0) { |
| 190 | if (status == 0) | 190 | if (status == 0) |
| 191 | status = activitypub_post_handler(req, q_path, | 191 | status = oauth_post_handler(req, q_path, |
| 192 | payload, p_size, &body, &b_size, &ctype); | 192 | payload, p_size, &body, &b_size, &ctype); |
| 193 | 193 | ||
| 194 | if (status == 0) | 194 | if (status == 0) |
| 195 | status = oauth_post_handler(req, q_path, | 195 | status = mastoapi_post_handler(req, q_path, |
| 196 | payload, p_size, &body, &b_size, &ctype); | 196 | payload, p_size, &body, &b_size, &ctype); |
| 197 | 197 | ||
| 198 | if (status == 0) | 198 | if (status == 0) |
| 199 | status = mastoapi_post_handler(req, q_path, | 199 | status = activitypub_post_handler(req, q_path, |
| 200 | payload, p_size, &body, &b_size, &ctype); | 200 | payload, p_size, &body, &b_size, &ctype); |
| 201 | 201 | ||
| 202 | if (status == 0) | 202 | if (status == 0) |