From b5217a482ce5cac01bcd1fb12fb48d585e3b586f Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 19 Mar 2020 00:51:15 +0530 Subject: Fix logical error in execAPOD() --- cmd/cetus/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.4.1-2-gfad0