Skip to content

Commit 44f05dc

Browse files
Ryan Hollerannejch
Ryan Holleran
authored andcommitted
fix: Use the ProjectIterationManager within the Project object
The Project object was previously using the GroupIterationManager resulting in the incorrect API endpoint being used. Utilize the correct ProjectIterationManager instead. Resolves #2403
1 parent 5579750 commit 44f05dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/v4/objects/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
from .integrations import ProjectIntegrationManager, ProjectServiceManager # noqa: F401
5858
from .invitations import ProjectInvitationManager # noqa: F401
5959
from .issues import ProjectIssueManager # noqa: F401
60-
from .iterations import GroupIterationManager # noqa: F401
60+
from .iterations import ProjectIterationManager # noqa: F401
6161
from .jobs import ProjectJobManager # noqa: F401
6262
from .labels import ProjectLabelManager # noqa: F401
6363
from .members import ProjectMemberAllManager, ProjectMemberManager # noqa: F401
@@ -187,7 +187,7 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO
187187
invitations: ProjectInvitationManager
188188
issues: ProjectIssueManager
189189
issues_statistics: ProjectIssuesStatisticsManager
190-
iterations: GroupIterationManager
190+
iterations: ProjectIterationManager
191191
jobs: ProjectJobManager
192192
keys: ProjectKeyManager
193193
labels: ProjectLabelManager

0 commit comments

Comments
 (0)