diff options
| author | default <nobody@localhost> | 2023-04-15 09:52:48 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2023-04-15 09:52:48 +0200 |
| commit | 84077aa9eb3c18ed6ce812b002079ed7ee331894 (patch) | |
| tree | 8b083a1ed63f2520d1120389d798c92012735450 | |
| parent | ec51d59e2457aa28398b908015819ece0083fbbe (diff) | |
Added the 'header' field to verify_credentials.
Megalodon accepted, but now crashes on input.
| -rw-r--r-- | mastoapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -675,6 +675,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, acct = xs_dict_append(acct, "created_at", xs_dict_get(snac1.config, "published")); acct = xs_dict_append(acct, "note", xs_dict_get(snac1.config, "bio")); acct = xs_dict_append(acct, "url", snac1.actor); + acct = xs_dict_append(acct, "header", ""); xs *avatar = NULL; char *av = xs_dict_get(snac1.config, "avatar"); |