Skip to content

Commit

Permalink
Rollback: Google Analytics source: use correct data types for known m…
Browse files Browse the repository at this point in the history
…etrics
  • Loading branch information
absorbb committed Feb 13, 2023
1 parent 27be899 commit d8c4643
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/drivers/google_analytics/google_analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ const (

var (
metricsCast = map[string]func(interface{}) (interface{}, error){
"ga:1dayUsers": typing.StringToInt,
"ga:7dayUsers": typing.StringToInt,
"ga:14dayUsers": typing.StringToInt,
"ga:28dayUsers": typing.StringToInt,
"ga:30dayUsers": typing.StringToInt,
"ga:sessions": typing.StringToInt,
"ga:users": typing.StringToInt,
"ga:hits": typing.StringToInt,
Expand Down

0 comments on commit d8c4643

Please sign in to comment.