update help and zfin library version
This commit is contained in:
parent
f4024d4be3
commit
c682f3b515
2 changed files with 4 additions and 4 deletions
|
|
@ -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",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue