mirror of https://github.com/Chocobozzz/PeerTube
Fix invalid short uuid conversion
Avoid "TypeError: Expected a string but received a null" errorpull/5898/head
parent
3ffff82e87
commit
69e3f2049f
|
@ -119,7 +119,7 @@ function toCompleteUUID (value: string) {
|
|||
try {
|
||||
return shortToUUID(value)
|
||||
} catch {
|
||||
return null
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue