diff options
author | Andinus <andinus@nand.sh> | 2020-03-19 00:51:15 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-19 00:51:15 +0530 |
commit | b5217a482ce5cac01bcd1fb12fb48d585e3b586f (patch) | |
tree | 8101ba9aeb75be13028207fdd9533f57097185e4 /cmd | |
parent | f6ba272eeb8329118cea2cb34fef234af6cd43fc (diff) | |
download | cetus-b5217a482ce5cac01bcd1fb12fb48d585e3b586f.tar.gz |
Fix logical error in execAPOD()
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cetus/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cetus/main.go b/cmd/cetus/main.go index 23ac6f4..14f0253 100644 --- a/cmd/cetus/main.go +++ b/cmd/cetus/main.go @@ -137,7 +137,7 @@ func execAPOD() { reqInfo["date"] = string(*apodDate) if *apodRand { - reqInfo["apiKey"] = apod.RandDate() + reqInfo["date"] = apod.RandDate() } body, err := apod.GetJson(reqInfo) |