mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +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, "approval_required", f);
|
||||||
ins = xs_dict_append(ins, "invites_enabled", f);
|
ins = xs_dict_append(ins, "invites_enabled", f);
|
||||||
|
|
||||||
{
|
/* {
|
||||||
snac snac;
|
snac snac;
|
||||||
user_open(&snac, "test1");
|
user_open(&snac, "test1");
|
||||||
xs *actor = msg_actor(&snac);
|
xs *actor = msg_actor(&snac);
|
||||||
xs *acc = mastoapi_account(actor);
|
xs *acc = mastoapi_account(actor);
|
||||||
ins = xs_dict_append(ins, "contact_account", acc);
|
ins = xs_dict_append(ins, "contact_account", acc);
|
||||||
user_free(&snac);
|
user_free(&snac);
|
||||||
}
|
}*/
|
||||||
*body = xs_json_dumps_pp(ins, 4);
|
*body = xs_json_dumps_pp(ins, 4);
|
||||||
*ctype = "application/json";
|
*ctype = "application/json";
|
||||||
status = 200;
|
status = 200;
|
||||||
|
|
Loading…
Reference in a new issue