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:
parent
ce5ad37ac8
commit
58d645dacb
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user