mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Commented out test code.
This commit is contained in:
parent
04e61ea475
commit
46bf844f1c
1 changed files with 2 additions and 2 deletions
|
@ -1045,14 +1045,14 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
|||
ins = xs_dict_append(ins, "approval_required", f);
|
||||
ins = xs_dict_append(ins, "invites_enabled", f);
|
||||
|
||||
{
|
||||
/* {
|
||||
snac snac;
|
||||
user_open(&snac, "test1");
|
||||
xs *actor = msg_actor(&snac);
|
||||
xs *acc = mastoapi_account(actor);
|
||||
ins = xs_dict_append(ins, "contact_account", acc);
|
||||
user_free(&snac);
|
||||
}
|
||||
}*/
|
||||
*body = xs_json_dumps_pp(ins, 4);
|
||||
*ctype = "application/json";
|
||||
status = 200;
|
||||
|
|
Loading…
Reference in a new issue