mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Added the 'header' field to verify_credentials.
Megalodon accepted, but now crashes on input.
This commit is contained in:
parent
ec51d59e24
commit
84077aa9eb
1 changed files with 1 additions and 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, "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, "note", xs_dict_get(snac1.config, "bio"));
|
||||||
acct = xs_dict_append(acct, "url", snac1.actor);
|
acct = xs_dict_append(acct, "url", snac1.actor);
|
||||||
|
acct = xs_dict_append(acct, "header", "");
|
||||||
|
|
||||||
xs *avatar = NULL;
|
xs *avatar = NULL;
|
||||||
char *av = xs_dict_get(snac1.config, "avatar");
|
char *av = xs_dict_get(snac1.config, "avatar");
|
||||||
|
|
Loading…
Reference in a new issue