made some metadata of the program dynamic

This commit is contained in:
Hazel Noack
2025-07-16 16:25:22 +02:00
parent 0b7de76874
commit 68c89de1a4
7 changed files with 17 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ const endpoint = "https://diyhrt.market/api/listings"
func GetListings(apiKey string) ([]Listing, error) {
if apiKey == "" {
return nil, errors.New("API_KEY key not set. Set it as env or in DiyHrt.ApiKey")
return nil, errors.New("diyhrt API_KEY key not set. Set it as env or in DiyHrt.ApiKey")
}
// Create HTTP client