From ba6fac22fb08ff0a0d3167f9b40da7f241313f04 Mon Sep 17 00:00:00 2001 From: ttD4T Date: Tue, 13 Jun 2023 22:29:03 +0700 Subject: [PATCH] Change title results --- controllers/mainController.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/controllers/mainController.js b/controllers/mainController.js index 265072d..e498b6e 100644 --- a/controllers/mainController.js +++ b/controllers/mainController.js @@ -38,7 +38,12 @@ class MainController { if (names.includes(name)) { return; } else { - names.push(name.split('.').join('_')); + names.push( + name + .replace('Giải', 'G') + .split(' ') + .join('') + ); } // } }