From 7c2a1d56fc6677c45572e6c3ed6c1c37b749b629 Mon Sep 17 00:00:00 2001 From: harshithpabbati Date: Mon, 3 Jan 2022 16:53:46 +0530 Subject: [PATCH] there's no restriction with alpha case --- custom/shared/lib/slugify.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom/shared/lib/slugify.js b/custom/shared/lib/slugify.js index f83370d..c9997d2 100644 --- a/custom/shared/lib/slugify.js +++ b/custom/shared/lib/slugify.js @@ -2,7 +2,6 @@ const convert = (keyword) => { return keyword .toString() .trim() - .toLowerCase() .replace(/\s+/g, '-') }; @@ -10,7 +9,6 @@ const revert = (keyword) => { return keyword .toString() .trim() - .toLowerCase() .replace('-', ' ') }