Added avatar_static to validate_credentials object.

This commit is contained in:
default 2023-08-12 21:53:35 +02:00
parent 07be3721c1
commit b2920e9956

View file

@ -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";