Skip to content

Commit

Permalink
Vehicle -> manufacturer
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs committed Oct 21, 2024
1 parent ead64a1 commit 855de54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/telemetry-api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func main() {

cfg := graph.Config{Resolvers: resolver}
cfg.Directives.RequiresVehicleToken = auth.NewVehicleTokenCheck(settings.VehicleNFTAddress)
cfg.Directives.RequiresManufacturerToken = auth.NewManufacturerTokenCheck(settings.VehicleNFTAddress, idService)
cfg.Directives.RequiresManufacturerToken = auth.NewManufacturerTokenCheck(settings.ManufacturerNFTAddress, idService)
cfg.Directives.RequiresPrivileges = auth.PrivilegeCheck
cfg.Directives.IsSignal = noOp
cfg.Directives.HasAggregation = noOp
Expand Down

0 comments on commit 855de54

Please sign in to comment.