Skip to content

Commit

Permalink
tr/echarging-ocpi remove unnecessary metadata fields
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Nov 14, 2024
1 parent bf961c9 commit 26e6779
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion transformers/echarging-ocpi/src/dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type OCPIEvse struct {
MaxVoltage int `bson:"max_voltage" json:"max_voltage"`
MaxAmperage int `bson:"max_amperage" json:"max_ampere"`
MaxElectricPower int `bson:"max_electric_power" json:"max_electric_power"`
TariffIds []string `bson:"tariff_ids" json:"tarrif_ids,omitempty"`
TariffIds []string `bson:"tariff_ids" json:"-"`
}
LastUpdated time.Time `bson:"last_updated"`
}
Expand Down
1 change: 0 additions & 1 deletion transformers/echarging-ocpi/src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ func main() {
station.MetaData = map[string]any{
"country_code": loc.CountryCode,
"party_id": loc.PartyID,
"publish": loc.Publish,
"address": loc.Address,
"city": loc.City,
"postal_code": loc.PostalCode,
Expand Down

0 comments on commit 26e6779

Please sign in to comment.