Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
3JoB committed Aug 30, 2023
1 parent c5f0c2f commit 87967a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func (t *Teler) setDSLRequestEnv(c *atreugo.RequestCtx) {
asn, city := t.setMmdb(c)
if city != nil {
t.env.Requests["DB"] = map[string]any{
"IsAnonymousProxy": city.Traits.IsAnonymousProxy,
"IsInEuropeanUnion": city.Country.IsInEuropeanUnion,
"City": city.City.Names,
"Country": city.Country.IsoCode,
Expand Down

0 comments on commit 87967a9

Please sign in to comment.