]> gitweb.ps.run Git - chirp/blobdiff - src/main.zig
Fix PostList type
[chirp] / 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 {