소스 검색

Added the 'header' field to verify_credentials.

Megalodon accepted, but now crashes on input.
default 3 년 전
부모
커밋
84077aa9eb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      mastoapi.c

+ 1 - 0
mastoapi.c

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