mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Commented out test code.
This commit is contained in:
parent
04e61ea475
commit
46bf844f1c
@ -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 New Issue
Block a user