update to use # as seperator instead of _

This commit is contained in:
tekh 2025-10-07 22:19:01 +02:00
parent 39936792aa
commit 4fad41bd0b
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ Namespace Jobs.FinalizeDocument
Throw New BurnAnnotationException("The identifier of annotation is null or empty.")
End If
Dim parts As String() = value.Split("-"c)
Dim parts As String() = value.Split("#"c)
If (parts.Length <> 4) Then
Throw New BurnAnnotationException($"The identifier of annotation has more or less than 4 sub-part. Id: {_id}")

View File

@ -9,7 +9,7 @@
let elementIndex = 0;
function generateId(annotationType) {
return `${envelopeId}_${receiverId}_${elementIndex++}_${annotationType}`;
return `${envelopeId}#${receiverId}#${elementIndex++}#${annotationType}`;
}
for (let element of document.elements) {