generated from VLADIMIR/template
fix
This commit is contained in:
@@ -29,7 +29,7 @@ func (s *server) AddScenario(ctx context.Context, req *proto.AddScenarioReq) (*p
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (s *server) GetMyScenarios(ctx context.Context, req *proto.GetMyScenariosReq) (*proto.GetMyScenariosRsp, error) {
|
||||
func (s *server) GetMyScenarios(ctx context.Context, _ *proto.GetMyScenariosReq) (*proto.GetMyScenariosRsp, error) {
|
||||
claims, claimsErr := claimsFromContext(ctx)
|
||||
if claimsErr != nil {
|
||||
return nil, claimsErr
|
||||
@@ -48,7 +48,7 @@ func (s *server) GetMyScenarios(ctx context.Context, req *proto.GetMyScenariosRe
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (s *server) GetScenariosCatalog(ctx context.Context, req *proto.GetScenariosCatalogReq) (*proto.GetScenariosCatalogRsp, error) {
|
||||
func (s *server) GetScenariosCatalog(ctx context.Context, _ *proto.GetScenariosCatalogReq) (*proto.GetScenariosCatalogRsp, error) {
|
||||
scenarios, err := s.scenarioService.GetScenariosCatalog(ctx)
|
||||
if err != nil {
|
||||
return nil, scenarioErrorStatus(err, "не удалось получить каталог сценариев")
|
||||
|
||||
Reference in New Issue
Block a user