]> gitweb.ps.run Git - chirp/commitdiff
Fix PostList type
authorpatrick-scho <patrick.schoenberger@posteo.de>
Wed, 5 Mar 2025 15:11:16 +0000 (16:11 +0100)
committerpatrick-scho <patrick.schoenberger@posteo.de>
Wed, 5 Mar 2025 15:11:16 +0000 (16:11 +0100)
src/main.zig

index 7583d8de0c9ca955bcc77d4314951cadfbae35fd..bf68da0e8dce8f303ce7765486891ffff93e472d 100644 (file)
@@ -903,7 +903,7 @@ const GET = struct {
             try self.res.write("<br />", .{});
         }
     }
-    pub fn @"/list/"(self: Self, args: struct { list_id: PostListList.Index }) !void {
+    pub fn @"/list/"(self: Self, args: struct { list_id: PostList.Index }) !void {
         try write_posts(self.res, self.txn, self.logged_in, PostList{ .idx = args.list_id });
     }
     pub fn @"/lists"(self: Self) !void {