package service import ( "context" "go.uber.org/zap" "penahub.gitlab.yandexcloud.net/backend/quiz/common.git/model" ) func (s *Service) GetFieldsWithPagination(ctx context.Context, req *model.PaginationReq) (*model.UserListFieldsResp, error) { response, err := s.repository.AmoRepo.GetFieldsWithPagination(ctx, req) if err != nil { s.logger.Error("error getting fields with pagination", zap.Error(err)) return nil, err } return response, nil } func (s *Service) UpdateListCustom(ctx context.Context) error { err := s.repository.AmoRepo.UpdateListCustom(ctx) if err != nil { return err } return nil }