summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
authorAndinus <andinus@inventati.org>2020-03-15 17:33:11 +0530
committerAndinus <andinus@inventati.org>2020-03-15 17:33:11 +0530
commitfc1600f21e6bc14adc01f0185308c1e448f403e3 (patch)
tree166c4aefa9c590ee5fb2269b8142fc0a37fa9d37 /cmd
parent0e5b4c39746f57c26fdc3c8a05a1ac061ae29746 (diff)
downloadcetus-fc1600f21e6bc14adc01f0185308c1e448f403e3.tar.gz
cetus-nasa: Fix compile time error
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cetus-nasa/cetus-nasa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cetus-nasa/cetus-nasa.go b/cmd/cetus-nasa/cetus-nasa.go
index 6610bba..0a1c91a 100644
--- a/cmd/cetus-nasa/cetus-nasa.go
+++ b/cmd/cetus-nasa/cetus-nasa.go
@@ -110,7 +110,7 @@ func printDetails(apodRes nasa.APOD) {
 		return
 	}
 	if pathOnly {
-		cetus.PrintPath(apodPhoto.HDURL)
+		cetus.PrintPath(apodRes.HDURL)
 		return
 	}
 	fmt.Printf("Title: %s\n\n", apodRes.Title)