Skip to content

Commit

Permalink
fix: Use unicode signer name
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Nov 12, 2024
1 parent ba9903e commit e08a780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const useFilesStore = function(...args) {
addIdentifierToSigner(signer) {
// generate unique code to new signer to be possible delete or edit
if ((signer.identify === undefined || signer.identify === '') && signer.signRequestId === undefined) {
signer.identify = btoa(JSON.stringify(signer))
signer.identify = btoa(String.fromCharCode(...new TextEncoder().encode(JSON.stringify(signer))))
}
if (signer.signRequestId) {
signer.identify = signer.signRequestId
Expand Down

0 comments on commit e08a780

Please sign in to comment.