diff options
| author | 2023-04-15 09:52:48 +0200 | |
|---|---|---|
| committer | 2023-04-15 09:52:48 +0200 | |
| commit | 84077aa9eb3c18ed6ce812b002079ed7ee331894 (patch) | |
| tree | 8b083a1ed63f2520d1120389d798c92012735450 /mastoapi.c | |
| parent | Some fixes to allow Megalodon to work. (diff) | |
| download | snac2-84077aa9eb3c18ed6ce812b002079ed7ee331894.tar.gz snac2-84077aa9eb3c18ed6ce812b002079ed7ee331894.tar.xz snac2-84077aa9eb3c18ed6ce812b002079ed7ee331894.zip | |
Added the 'header' field to verify_credentials.
Megalodon accepted, but now crashes on input.
Diffstat (limited to 'mastoapi.c')
| -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, | |||
| 675 | acct = xs_dict_append(acct, "created_at", xs_dict_get(snac1.config, "published")); | 675 | acct = xs_dict_append(acct, "created_at", xs_dict_get(snac1.config, "published")); |
| 676 | acct = xs_dict_append(acct, "note", xs_dict_get(snac1.config, "bio")); | 676 | acct = xs_dict_append(acct, "note", xs_dict_get(snac1.config, "bio")); |
| 677 | acct = xs_dict_append(acct, "url", snac1.actor); | 677 | acct = xs_dict_append(acct, "url", snac1.actor); |
| 678 | acct = xs_dict_append(acct, "header", ""); | ||
| 678 | 679 | ||
| 679 | xs *avatar = NULL; | 680 | xs *avatar = NULL; |
| 680 | char *av = xs_dict_get(snac1.config, "avatar"); | 681 | char *av = xs_dict_get(snac1.config, "avatar"); |