snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 46bf844f1c6b5251d28ff15e67102d257e752249
parent 04e61ea47527475430c6817012578c1bd48c0335
Author: default <nobody@localhost>
Date:   Thu, 20 Apr 2023 18:43:57 +0200

Commented out test code.

Diffstat:
Mmastoapi.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mastoapi.c b/mastoapi.c @@ -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;