This commit is contained in:
azivner
2017-10-25 22:39:21 -04:00
parent 5253f680f6
commit 1c733fbfab
10 changed files with 198 additions and 64 deletions

View File

@@ -7,7 +7,7 @@ function randomToken(length) {
}
function newNoteId() {
return randomString(32, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ');
return randomString(22, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ');
}
function randomString(length, chars) {