Skip to content

Commit

Permalink
ci: (api) removes pagination util
Browse files Browse the repository at this point in the history
doesnt look like this hook works with the around hook
see :feathersjs-ecosystem/feathers-hooks-common#709
  • Loading branch information
anthonymunene committed May 2, 2023
1 parent c890300 commit 000ea02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/api/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { logError } from './hooks/log-error';
import { postgresql } from './postgresql';
import { services } from './services/index';
import { channels } from './channels';
import { disablePagination } from 'feathers-hooks-common';

const app: Application = express(feathers());

Expand Down Expand Up @@ -45,7 +44,7 @@ app.hooks({
around: {
all: [logError],
},
before: { find: disablePagination() },
before: {},
after: {},
error: {},
});
Expand Down

0 comments on commit 000ea02

Please sign in to comment.