mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Fixed crash.
This commit is contained in:
parent
d48819ded8
commit
ee31fa4bae
1 changed files with 4 additions and 4 deletions
|
@ -1463,10 +1463,10 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
|||
ins = xs_dict_append(ins, "urls", d1);
|
||||
|
||||
xs *z = xs_number_new(0);
|
||||
d1 = xs_dict_append(d1, "user_count", z);
|
||||
d1 = xs_dict_append(d1, "status_count", z);
|
||||
d1 = xs_dict_append(d1, "domain_count", z);
|
||||
ins = xs_dict_append(ins, "stats", d1);
|
||||
xs *d2 = xs_dict_append(xs_dict_new(), "user_count", z);
|
||||
d2 = xs_dict_append(d2, "status_count", z);
|
||||
d2 = xs_dict_append(d2, "domain_count", z);
|
||||
ins = xs_dict_append(ins, "stats", d2);
|
||||
|
||||
ins = xs_dict_append(ins, "registrations", xs_stock_false);
|
||||
ins = xs_dict_append(ins, "approval_required", xs_stock_false);
|
||||
|
|
Loading…
Reference in a new issue