Skip to content

Commit

Permalink
fix: Use the ProjectIterationManager within the Project object
Browse files Browse the repository at this point in the history
The Project object was previously using the GroupIterationManager
resulting in the incorrect API endpoint being used. Utilize the correct
ProjectIterationManager instead.

Resolves #2403
  • Loading branch information
Ryan Holleran authored and nejch committed Dec 3, 2022
1 parent 5579750 commit 44f05dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab/v4/objects/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
from .integrations import ProjectIntegrationManager, ProjectServiceManager # noqa: F401
from .invitations import ProjectInvitationManager # noqa: F401
from .issues import ProjectIssueManager # noqa: F401
from .iterations import GroupIterationManager # noqa: F401
from .iterations import ProjectIterationManager # noqa: F401
from .jobs import ProjectJobManager # noqa: F401
from .labels import ProjectLabelManager # noqa: F401
from .members import ProjectMemberAllManager, ProjectMemberManager # noqa: F401
Expand Down Expand Up @@ -187,7 +187,7 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO
invitations: ProjectInvitationManager
issues: ProjectIssueManager
issues_statistics: ProjectIssuesStatisticsManager
iterations: GroupIterationManager
iterations: ProjectIterationManager
jobs: ProjectJobManager
keys: ProjectKeyManager
labels: ProjectLabelManager
Expand Down

0 comments on commit 44f05dc

Please sign in to comment.