Skip to content

Commit

Permalink
Update shared version
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJoiner committed Nov 25, 2024
1 parent 42fac79 commit 26309a8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/DIMO-Network/clickhouse-infra v0.0.3
github.com/DIMO-Network/model-garage v0.4.2
github.com/DIMO-Network/nameindexer v0.0.11
github.com/DIMO-Network/shared v0.12.1
github.com/DIMO-Network/shared v0.12.6-0.20241125170819-34c34a40a26d
github.com/Khan/genqlient v0.7.0
github.com/auth0/go-jwt-middleware/v2 v2.2.1
github.com/aws/aws-sdk-go-v2 v1.32.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ github.com/DIMO-Network/model-garage v0.4.2 h1:TF+RNC1n1Y58QSdzmKaf5REixdariAP4t
github.com/DIMO-Network/model-garage v0.4.2/go.mod h1:SXaBHFFARooOEoaV1wFaOC1K0LMt0bovkILsFXoUQTg=
github.com/DIMO-Network/nameindexer v0.0.11 h1:VmonlyW98BSIX7c4hwlRqpzIBLlyMby4x5WvzvANbCA=
github.com/DIMO-Network/nameindexer v0.0.11/go.mod h1:Hd+vs7PCqSIdAdkcHprdqQjsMED5fuiHP6TNKdqUajs=
github.com/DIMO-Network/shared v0.12.1 h1:vYnXZSZKR3tzixXreTAuDx9OFe37m7Xzoacx9C5+UAM=
github.com/DIMO-Network/shared v0.12.1/go.mod h1:UbxVeHgaEeTo7QrzB0t1oVDh+5y79lIPqr8gv65e6Pk=
github.com/DIMO-Network/shared v0.12.6-0.20241125170819-34c34a40a26d h1:RhLFWxtK2eccosu0BlA0lS6WTpbamrnkncPTIZAoj68=
github.com/DIMO-Network/shared v0.12.6-0.20241125170819-34c34a40a26d/go.mod h1:dtoa/pN19FFR/ghTsUWJynQClwvc+cIlf2mPDaUBDsE=
github.com/DIMO-Network/yaml v0.1.0 h1:KQ3oKHUZETchR6Pxbmmol3e4ewrPv/q8cEwqxfwyZbU=
github.com/DIMO-Network/yaml v0.1.0/go.mod h1:KkiehcbkVzH8Pf8f9dja8B2aW81gYYZSqfwzSj9yN68=
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
Expand Down
12 changes: 6 additions & 6 deletions internal/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ const (

var (
vehiclePrivToAPI = map[privileges.Privilege]model.Privilege{
privileges.VehicleNonLocationData: model.PrivilegeVehicleNonLocationData,
privileges.VehicleCommands: model.PrivilegeVehicleCommands,
privileges.VehicleCurrentLocation: model.PrivilegeVehicleCurrentLocation,
privileges.VehicleAllTimeLocation: model.PrivilegeVehicleAllTimeLocation,
privileges.VehicleVinCredential: model.PrivilegeVehicleVinCredential,
8: model.PrivilegeVehicleApproximateLocation,
privileges.VehicleNonLocationData: model.PrivilegeVehicleNonLocationData,
privileges.VehicleCommands: model.PrivilegeVehicleCommands,
privileges.VehicleCurrentLocation: model.PrivilegeVehicleCurrentLocation,
privileges.VehicleAllTimeLocation: model.PrivilegeVehicleAllTimeLocation,
privileges.VehicleVinCredential: model.PrivilegeVehicleVinCredential,
privileges.VehicleApproximateLocation: model.PrivilegeVehicleApproximateLocation,
}

manufacturerPrivToAPI = map[privileges.Privilege]model.Privilege{
Expand Down

0 comments on commit 26309a8

Please sign in to comment.