Update getItemListsController.ts
All checks were successful
Build / build (pull_request) Successful in 1m17s

This commit is contained in:
AMelonInsideLemon 2025-09-09 03:19:45 +02:00
parent 92bcd2bd04
commit c394b4da31

View File

@ -70,7 +70,7 @@ const relicQualitySuffixes: Record<TRelicQuality, string> = {
}; };
const toTitleCase = (str: string): string => { const toTitleCase = (str: string): string => {
return str.replace(/[^\s-]+/g, word => word.charAt(0).toUpperCase() + word.substr(1).toLowerCase()); return str.replace(/[^\s-]+/g, word => word.charAt(0).toUpperCase() + word.substring(1).toLowerCase());
}; };
const getItemListsController: RequestHandler = (req, response) => { const getItemListsController: RequestHandler = (req, response) => {