abouttreesummaryrefslogcommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick2025-03-24 00:21:05 +0100
committerPatrick2025-03-24 00:21:05 +0100
commit76968d86e7b0d55c44fb9c2a3bd5352f3c46a54e (patch)
tree09bce3565230d19537e8fb655a179c99674c3b6d /src
parent4dcd5892e7db988893845b389abc4fd1a48d3fec (diff)
downloadchirp-76968d86e7b0d55c44fb9c2a3bd5352f3c46a54e.tar.gz
chirp-76968d86e7b0d55c44fb9c2a3bd5352f3c46a54e.zip
Fix parameter name
Diffstat (limited to 'src')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 6455207..98da131 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -705,7 +705,7 @@ fn write_profile(res: *http.Response, txn: lmdb.Txn, logged_in: ?Login, user: Us
try res.write("<option value=\"{x}\">{s}{s}</option>", .{ id, name.constSlice(), if (list_view.has(user.id) catch false) " *" else "" });
}
try res.write("</select>", .{});
- try res.write("<input type=\"hidden\" name=\"user.id\" value=\"{x}\"></input>", .{@intFromEnum(user.id)});
+ try res.write("<input type=\"hidden\" name=\"user_id\" value=\"{x}\"></input>", .{@intFromEnum(user.id)});
try res.write("<input type=\"submit\" value=\"Add to feed\"></input>", .{});
try res.write("</form>", .{});
}