mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
mastoapi: return some dummy values in verify_credentials.
This commit is contained in:
parent
8b5c146c40
commit
68b7947159
1 changed files with 4 additions and 0 deletions
|
@ -1104,6 +1104,10 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
|||
acct = xs_dict_set(acct, "fields", fields);
|
||||
}
|
||||
|
||||
acct = xs_dict_append(acct, "followers_count", xs_stock_0);
|
||||
acct = xs_dict_append(acct, "following_count", xs_stock_0);
|
||||
acct = xs_dict_append(acct, "statuses_count", xs_stock_0);
|
||||
|
||||
*body = xs_json_dumps(acct, 4);
|
||||
*ctype = "application/json";
|
||||
status = 200;
|
||||
|
|
Loading…
Reference in a new issue