update help and zfin library version
All checks were successful
Generic zig build / build (push) Successful in 1m6s
Generic zig build / deploy (push) Successful in 17s

This commit is contained in:
Emil Lerch 2026-03-11 12:02:02 -07:00
parent f4024d4be3
commit c682f3b515
Signed by: lobo
GPG key ID: A7B62D657EF764F8
2 changed files with 4 additions and 4 deletions

View file

@ -14,8 +14,8 @@
.hash = "httpz-0.0.0-PNVzrBtMBwAPcQx3mNEgat3Xbsynw-eIC9SmOX5M9XtP", .hash = "httpz-0.0.0-PNVzrBtMBwAPcQx3mNEgat3Xbsynw-eIC9SmOX5M9XtP",
}, },
.zfin = .{ .zfin = .{
.url = "git+https://git.lerch.org/lobo/zfin.git#31ae11cec0c16fcc60c5847b256c4b750aa8dd16", .url = "git+https://git.lerch.org/lobo/zfin.git#2f49a99ca420c9fa3d8c5ede5a52a2c37bc1ec1a",
.hash = "zfin-0.0.0-J-B21rbwCgALvwhOMCdo0yzEtrD-rF-YuSB8KuEVViI3", .hash = "zfin-0.0.0-J-B21rjwCgAqB4R1DRg6i1ZyluOul2SdZBqzrf2CkC1s",
}, },
}, },
} }

View file

@ -50,8 +50,8 @@ fn handleIndex(_: *App, _: *httpz.Request, res: *httpz.Response) !void {
fn handleHelp(_: *App, _: *httpz.Request, res: *httpz.Response) !void { fn handleHelp(_: *App, _: *httpz.Request, res: *httpz.Response) !void {
res.content_type = httpz.ContentType.TEXT; res.content_type = httpz.ContentType.TEXT;
res.body = res.body = "zfin-server " ++ version ++ " - financial data API" ++
\\zfin-server — financial data API \\
\\ \\
\\Endpoints: \\Endpoints:
\\ GET /{SYMBOL}/returns Trailing 1/3/5/10yr returns (JSON) \\ GET /{SYMBOL}/returns Trailing 1/3/5/10yr returns (JSON)