diff options
| -rw-r--r-- | mastoapi.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -1104,6 +1104,10 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 1104 | acct = xs_dict_set(acct, "fields", fields); | 1104 | acct = xs_dict_set(acct, "fields", fields); |
| 1105 | } | 1105 | } |
| 1106 | 1106 | ||
| 1107 | acct = xs_dict_append(acct, "followers_count", xs_stock_0); | ||
| 1108 | acct = xs_dict_append(acct, "following_count", xs_stock_0); | ||
| 1109 | acct = xs_dict_append(acct, "statuses_count", xs_stock_0); | ||
| 1110 | |||
| 1107 | *body = xs_json_dumps(acct, 4); | 1111 | *body = xs_json_dumps(acct, 4); |
| 1108 | *ctype = "application/json"; | 1112 | *ctype = "application/json"; |
| 1109 | status = 200; | 1113 | status = 200; |