Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

ease how we generate nano-ids (#69317)

dpsuttona2a08af4b16f
diff --git a/src/metabase/util.cljc b/src/metabase/util.cljc
index 44ea510bd9b..0e45faedf3c 100644
--- a/src/metabase/util.cljc
+++ b/src/metabase/util.cljc
@@ -1297,7 +1297,8 @@
If an argument is provided, it's taken to be an identity-hash string and used to seed the RNG,
producing the same value every time. This is only supported on the JVM!"
- ([] (encore/nanoid))
+ ([]
+ (encore/nanoid false 21))
([seed-str]
#?(:clj (let [seed (Long/parseLong seed-str 16)
rnd (Random. seed)