Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix invalid short uuid conversion

Chocobozzz69e3f2049f01
diff --git a/server/helpers/custom-validators/misc.ts b/server/helpers/custom-validators/misc.ts
index 2c4cd1b9f2..937ae06329 100644
--- a/server/helpers/custom-validators/misc.ts
+++ b/server/helpers/custom-validators/misc.ts
@@ -119,7 +119,7 @@ function toCompleteUUID (value: string) {
try {
return shortToUUID(value)
} catch {
- return null
+ return ''
}
}