aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2026-08-26 08:17:03 +0200
committerdefault <nobody@localhost>2026-08-26 08:17:03 +0200
commit319d5cae0e632e1891f442194afe5e36aa48e6c4 (patch)
tree7bc2a70a725a635ae00b28266bc0c79be4ef3195 /html.c
parent120308074813de49fea6728259b5d78a907ea9b2 (diff)
Use snac_op in list_maint().
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 8f177cc..503539c 100644
--- a/html.c
+++ b/html.c
@@ -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,