Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
domwong
2021-09-21 19:20:10 +00:00
parent a423dd9e99
commit d4f704166b
10 changed files with 12 additions and 12 deletions

View File

@@ -16,13 +16,13 @@ type HolidaysService struct {
client *client.Client
}
//
// Get the list of countries that are supported by this API
func (t *HolidaysService) Countries(request *CountriesRequest) (*CountriesResponse, error) {
rsp := &CountriesResponse{}
return rsp, t.client.Call("holidays", "Countries", request, rsp)
}
//
// List the holiday dates for a given country and year
func (t *HolidaysService) List(request *ListRequest) (*ListResponse, error) {
rsp := &ListResponse{}
return rsp, t.client.Call("holidays", "List", request, rsp)

View File

@@ -161,7 +161,7 @@ type Verse struct {
// The basic translation of the verse
TranslatedText string `json:"translatedText"`
// The alternative translations for the verse
Translations []Translation `json:"translations"`
Translations []Interpretation `json:"translations"`
// The phonetic transliteration from arabic
Transliteration string `json:"transliteration"`
// The individual words within the verse (Ayah)