diff options
Diffstat (limited to 'src/services/index.ts')
-rw-r--r-- | src/services/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services/index.ts b/src/services/index.ts index 42b1fbd..b94380d 100644 --- a/src/services/index.ts +++ b/src/services/index.ts @@ -6,6 +6,7 @@ import Tranfers from './transfers.service'; import Spreadsheets from './spreadsheets.service'; import Uploads from './uploads.service'; import sortByDate from '../hooks/sortByDate'; +import ignoreCaseRegex from '../hooks/ignoreCaseRegex'; export default (app: Application): void => { app.configure(Products); @@ -19,7 +20,7 @@ export default (app: Application): void => { app.hooks({ before: { - find: sortByDate + find: [sortByDate, ignoreCaseRegex] }, }) }; |