Skip to content

Commit 0eb04dc

Browse files
committed
Updated add_contributors_to_project
1 parent 6dd1f09 commit 0eb04dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2229,7 +2229,7 @@ def add_contributors_to_project(
22292229
for email in emails
22302230
]
22312231
response = self.controller.projects.add_contributors(
2232-
team=self.controller.team, project=project, contributors=contributors
2232+
team=self.controller.get_team().data, project=project, contributors=contributors
22332233
)
22342234
if response.errors:
22352235
raise AppException(response.errors)

0 commit comments

Comments
 (0)