Skip to content

Commit 33daee1

Browse files
committed
Fix ipgelocation response
1 parent 0270dc2 commit 33daee1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

provider/ipgeolocation/response.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ type Currency struct {
3939

4040
type TimeZone struct {
4141
Name string `json:"name"`
42-
Offset int `json:"offset"`
42+
Offset float64 `json:"offset"`
4343
CurrentTime string `json:"current_time"`
4444
CurrentTimeUnix float64 `json:"current_time_unix"`
4545
IsDST bool `json:"is_dst"`
46-
DSTSavings int `json:"dst_savings"`
46+
DSTSavings int64 `json:"dst_savings"`
4747
}
4848

4949
type Security struct {
50-
ThreatScore int `json:"threat_score"`
50+
ThreatScore int64 `json:"threat_score"`
5151
IsTor bool `json:"is_tor"`
5252
IsProxy bool `json:"is_proxy"`
5353
ProxyType string `json:"proxy_type"`

0 commit comments

Comments
 (0)