diff --git a/build.zig.zon b/build.zig.zon index 35158b8..8598888 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -14,8 +14,8 @@ .hash = "httpz-0.0.0-PNVzrBtMBwAPcQx3mNEgat3Xbsynw-eIC9SmOX5M9XtP", }, .zfin = .{ - .url = "git+https://git.lerch.org/lobo/zfin.git#31ae11cec0c16fcc60c5847b256c4b750aa8dd16", - .hash = "zfin-0.0.0-J-B21rbwCgALvwhOMCdo0yzEtrD-rF-YuSB8KuEVViI3", + .url = "git+https://git.lerch.org/lobo/zfin.git#2f49a99ca420c9fa3d8c5ede5a52a2c37bc1ec1a", + .hash = "zfin-0.0.0-J-B21rjwCgAqB4R1DRg6i1ZyluOul2SdZBqzrf2CkC1s", }, }, } diff --git a/src/main.zig b/src/main.zig index 8a83c2c..5f27cb3 100644 --- a/src/main.zig +++ b/src/main.zig @@ -50,8 +50,8 @@ fn handleIndex(_: *App, _: *httpz.Request, res: *httpz.Response) !void { fn handleHelp(_: *App, _: *httpz.Request, res: *httpz.Response) !void { res.content_type = httpz.ContentType.TEXT; - res.body = - \\zfin-server — financial data API + res.body = "zfin-server " ++ version ++ " - financial data API" ++ + \\ \\ \\Endpoints: \\ GET /{SYMBOL}/returns Trailing 1/3/5/10yr returns (JSON)