fix: increase randomBytes

This commit is contained in:
Markus
2026-08-04 17:16:28 +03:00
parent 89458597dd
commit 6b5200d876
+1 -1
View File
@@ -61,7 +61,7 @@ const pipe =
fns.reduce((v, fn) => fn(v), value)
const getRandomId = () => {
return 'a' + crypto.randomBytes(8).toString('hex')
return 'a' + crypto.randomBytes(24).toString('hex')
}
const isDevelopmentEnvironment = () => process.env.NODE_ENV === 'development'