Skip to content
Snippets Groups Projects
Unverified Commit 32ec3649 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Add missing documentation (VPU/Middleware/API#40)

parent fb02b3d2
Branches
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ class SignaturePdfUpload extends VPUSignatureLitElement {
this.signedFiles.forEach((file) => {
let fileName = file.name;
//
// add pseudo-random string on duplicate file name
if (fileNames.indexOf(fileName) !== -1) {
fileName = utils.baseName(fileName) + "-" + Math.random().toString(36).substring(7) + ".pdf";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment