diff options
Diffstat (limited to 'cmd/cetus-nasa/cetus-nasa.go')
-rw-r--r-- | cmd/cetus-nasa/cetus-nasa.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cetus-nasa/cetus-nasa.go b/cmd/cetus-nasa/cetus-nasa.go index 39b22c0..d462455 100644 --- a/cmd/cetus-nasa/cetus-nasa.go +++ b/cmd/cetus-nasa/cetus-nasa.go @@ -117,7 +117,7 @@ func printDetails(apodRes nasa.APOD) { if apodRes.MediaType == "image" { fmt.Printf("URL: %s\n\n", apodRes.HDURL) } else { - fmt.Printf("URL: %s\n\n", apodRes.HDURL) + fmt.Printf("URL: %s\n\n", apodRes.URL) } fmt.Printf("Explanation: %s\n", apodRes.Explanation) } |