Skip to content

Commit d7b7a39

Browse files
authored
Fix URL format for URL returned by annotation upload (#1407)
1 parent 7ef2e15 commit d7b7a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webknossos/webknossos/annotation/annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ def upload(self) -> str:
895895
createGroupForEachFile=False,
896896
)
897897

898-
return f"{context.url}/annotations/{response_annotation_info.annotation.typ}/{response_annotation_info.annotation.id}"
898+
return f"{context.url}/annotations/{response_annotation_info.annotation.id}"
899899

900900
def _binary_zip(self) -> bytes:
901901
with BytesIO() as buffer:

0 commit comments

Comments
 (0)