add UpgradeBuilding functionallity

This commit is contained in:
arnaucube
2019-06-14 23:29:16 +02:00
parent c07b4edd62
commit c38f7762f4
9 changed files with 205 additions and 20 deletions

View File

@@ -35,7 +35,7 @@ func start(c *cli.Context) error {
return err
}
apiService := endpoint.Serve(config.C, db, userservice)
apiService := endpoint.Serve(config.C, db, userservice, gameservice)
apiService.Run(config.C.Server.ServiceApi)
return nil