diff options
| author | default <nobody@localhost> | 2026-08-26 08:17:03 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2026-08-26 08:17:03 +0200 |
| commit | 319d5cae0e632e1891f442194afe5e36aa48e6c4 (patch) | |
| tree | 7bc2a70a725a635ae00b28266bc0c79be4ef3195 /html.c | |
| parent | 120308074813de49fea6728259b5d78a907ea9b2 (diff) | |
Use snac_op in list_maint().
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3534,7 +3534,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, xs_html_attr("class", "snac-list-of-lists")); xs_html_add(body, lol); - xs *lists = list_maint(user, NULL, 0); /* get list of lists */ + xs *lists = list_maint(user, NULL, OP_LIST); /* get list of lists */ int ct = 0; const char *v; @@ -5179,7 +5179,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, xs *ttl = timeline_top_level(&snac, list); xs *base = xs_fmt("/list/%s", lid); - xs *name = list_maint(&snac, lid, 3); + xs *name = list_maint(&snac, lid, OP_ID); xs *title = xs_fmt(L("Showing timeline for list '%s'"), name); *body = html_timeline(&snac, ttl, 0, skip, show, |