generated from VLADIMIR/template
add online games
This commit is contained in:
@@ -1152,6 +1152,7 @@ func (s *server) AddGame(ctx context.Context, req *proto.AddGameReq) (*proto.Add
|
||||
req.Description,
|
||||
req.StartAt.AsTime(),
|
||||
req.ScenarioId,
|
||||
req.Format,
|
||||
)
|
||||
if err != nil {
|
||||
return &proto.AddGameRsp{
|
||||
@@ -1274,6 +1275,7 @@ func (s *server) UpdateGame(ctx context.Context, req *proto.UpdateGameReq) (*pro
|
||||
req.Description,
|
||||
req.StartAt.AsTime(),
|
||||
req.ScenarioId,
|
||||
req.Format,
|
||||
)
|
||||
if err != nil {
|
||||
return &proto.UpdateGameRsp{
|
||||
|
||||
Reference in New Issue
Block a user