diff options
author | Andinus <andinus@inventati.org> | 2020-03-15 17:33:11 +0530 |
---|---|---|
committer | Andinus <andinus@inventati.org> | 2020-03-15 17:33:11 +0530 |
commit | fc1600f21e6bc14adc01f0185308c1e448f403e3 (patch) | |
tree | 166c4aefa9c590ee5fb2269b8142fc0a37fa9d37 /cmd/cetus-nasa | |
parent | 0e5b4c39746f57c26fdc3c8a05a1ac061ae29746 (diff) | |
download | cetus-fc1600f21e6bc14adc01f0185308c1e448f403e3.tar.gz |
cetus-nasa: Fix compile time error
Diffstat (limited to 'cmd/cetus-nasa')
-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 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) |