mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:43:07 +02:00
Fix bug
This commit is contained in:
parent
483f043768
commit
a2fcae4383
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ function getTime(time: number) {
|
|||
}
|
||||
|
||||
function getRandom() {
|
||||
return counter.toString(36).padStart(2, '0').substr(2);
|
||||
return counter.toString(36).padStart(2, '0').slice(-2);
|
||||
}
|
||||
|
||||
export function genAid(date: Date): string {
|
||||
|
|
Loading…
Reference in a new issue