1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-06-04 23:37:49 +02:00

fix account signup

This commit is contained in:
Lee Brown 2019-08-13 00:41:10 -08:00
parent ce5ad37ac8
commit 58d645dacb
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ func (h *Account) Update(ctx context.Context, w http.ResponseWriter, r *http.Req
return false, err
}
data["geonameCountries"] = geonames.ValidGeonameCountries
data["geonameCountries"] = geonames.ValidGeonameCountries(ctx)
data["countries"], err = geonames.FindCountries(ctx, h.MasterDB, "name", "")
if err != nil {

View File

@ -105,7 +105,7 @@ func (h *Signup) Step1(ctx context.Context, w http.ResponseWriter, r *http.Reque
return nil
}
data["geonameCountries"] = geonames.ValidGeonameCountries
data["geonameCountries"] = geonames.ValidGeonameCountries(ctx)
data["countries"], err = geonames.FindCountries(ctx, h.MasterDB, "name", "")
if err != nil {