From 5db7822d41a49ad8538342b7d0eb7e24712111d0 Mon Sep 17 00:00:00 2001 From: marcusziade Date: Tue, 21 Feb 2023 16:04:31 +0200 Subject: [PATCH] Update URL key to `hdurl` --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 070191b..3536984 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( type NasaAPOD struct { Date string `json:"date"` Title string `json:"title"` - URL string `json:"url"` + URL string `json:"hdurl"` } const apiURL = "https://api.nasa.gov/planetary/apod"