fix: Set doc slug on importing collections (#7270)

* fix: Set doc slug on importing collections

* review
This commit is contained in:
Hemachandar
2024-07-22 06:12:22 +05:30
committed by GitHub
parent 78d5992ad4
commit bbbc00baaa
5 changed files with 49 additions and 29 deletions
+5
View File
@@ -0,0 +1,5 @@
import randomstring from "randomstring";
const UrlIdLength = 10;
export const generateUrlId = () => randomstring.generate(UrlIdLength);