Skip to content

Commit dacf034

Browse files
Narek MkhitaryanNarek Mkhitaryan
authored andcommitted
updated user invitations endpoints
1 parent 2437b88 commit dacf034

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/superannotate/lib/infrastructure/serviceprovider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ServiceProvider(BaseServiceProvider):
3434
URL_GET_EXPORT = "export/{}"
3535
URL_PREDICTION = "images/prediction"
3636
URL_FOLDERS_IMAGES = "images-folders"
37-
URL_INVITE_CONTRIBUTORS = "team/{}/inviteUsers"
37+
URL_INVITE_CONTRIBUTORS = "api/v1/team/{}/inviteUsers"
3838
URL_ANNOTATION_UPLOAD_PATH_TOKEN = "images/getAnnotationsPathsAndTokens"
3939

4040
def __init__(self, client: HttpClient):

src/superannotate/lib/infrastructure/services/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ProjectService(BaseProjectService):
1414
URL_GET = "project/{}"
1515
URL_SETTINGS = "project/{}/settings"
1616
URL_WORKFLOW = "project/{}/workflow"
17-
URL_SHARE = "project/{}/share/bulk"
17+
URL_SHARE = "api/v1/project/{}/share/bulk"
1818
URL_SHARE_PROJECT = "project/{}/share"
1919
URL_WORKFLOW_ATTRIBUTE = "project/{}/workflow_attribute"
2020
URL_UPLOAD_PRIORITY_SCORES = "images/updateEntropy"

0 commit comments

Comments
 (0)