diff options
| author | patrick-scho | 2025-03-05 16:11:16 +0100 |
|---|---|---|
| committer | patrick-scho | 2025-03-05 16:11:16 +0100 |
| commit | 2ef30b70c3bc464defb933cb7a5b5ca88f827be0 (patch) | |
| tree | d02a13244d4b167f982df6024ca5863f6fca59a7 /src/main.zig | |
| parent | 8817424be674768df1643c87cb4d19af1bd27b7d (diff) | |
| download | chirp-2ef30b70c3bc464defb933cb7a5b5ca88f827be0.tar.gz chirp-2ef30b70c3bc464defb933cb7a5b5ca88f827be0.zip | |
Fix PostList type
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index 7583d8d..bf68da0 100644 --- a/src/main.zig +++ b/src/main.zig @@ -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 { |
