From ea63139d2457bb17afd907632f4ca1bdbddcd327 Mon Sep 17 00:00:00 2001 From: Pouria Ezzati Date: Tue, 29 Nov 2022 20:23:26 +0330 Subject: [PATCH] fix: import correct neoid generator --- server/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/index.ts b/server/utils/index.ts index 530bca0b7..cda1956b5 100644 --- a/server/utils/index.ts +++ b/server/utils/index.ts @@ -1,5 +1,5 @@ import ms from "ms"; -import nanoid from "nanoid"; +import nanoid from "nanoid/generate"; import JWT from "jsonwebtoken"; import { differenceInDays,