Skip to content

Commit

Permalink
Update URL key to hdurl
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusziade committed Feb 21, 2023
1 parent de343db commit 5db7822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5db7822

Please sign in to comment.