mirror of
https://codeberg.org/grunfink/snac2.git
synced 2025-01-13 17:43:39 +00:00
Added avatar_static to validate_credentials object.
This commit is contained in:
parent
07be3721c1
commit
b2920e9956
1 changed files with 1 additions and 0 deletions
|
@ -973,6 +973,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
|||
avatar = xs_dup(av);
|
||||
|
||||
acct = xs_dict_append(acct, "avatar", avatar);
|
||||
acct = xs_dict_append(acct, "avatar_static", avatar);
|
||||
|
||||
*body = xs_json_dumps(acct, 4);
|
||||
*ctype = "application/json";
|
||||
|
|
Loading…
Reference in a new issue