fix zig syntax

This commit is contained in:
Pierre Tachoire committed 2026-04-15 10:09:13 -04:00
1 parent 35991a1b32
commit de3404dfc5
1 file changed
+1 -1
+1 -1
View File
@@ -91,7 +91,7 @@ pub fn saveToFile(jar: *Cookie.Jar, path: []const u8) !void {
for (jar.cookies.items, 0..) |c, i| {
if (i > 0) try w.writeAll(",");
try w.writeAll("\n ");
try std.json.stringify(JsonCookie{
try std.json.Stringify.value(JsonCookie{
.name = c.name,
.value = c.value,
.domain = c.domain,