mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Add logos to vehicle API (#380)
This commit is contained in:
@@ -25,8 +25,10 @@ func main() {
|
||||
logger.Fatal("dvla.api_key config not found")
|
||||
}
|
||||
|
||||
h := handler.New(key)
|
||||
// Register handler
|
||||
pb.RegisterVehicleHandler(srv.Server(), handler.New(key))
|
||||
pb.RegisterVehicleHandler(srv.Server(), h)
|
||||
pb.RegisterVehicleAdminHandler(srv.Server(), h)
|
||||
|
||||
// Run service
|
||||
if err := srv.Run(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user