1
0
Fork 0

Fix invalid short uuid conversion

Avoid "TypeError: Expected a string but received a null" error
This commit is contained in:
Chocobozzz 2023-07-26 10:48:30 +02:00
parent 3ffff82e87
commit 69e3f2049f
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -119,7 +119,7 @@ function toCompleteUUID (value: string) {
try {
return shortToUUID(value)
} catch {
return null
return ''
}
}