mikmc commited on
Commit
8f87312
·
verified ·
1 Parent(s): a2a715b

Update handlers/index.js

Browse files
Files changed (1) hide show
  1. handlers/index.js +8 -8
handlers/index.js CHANGED
@@ -1,11 +1,11 @@
1
- const searchCatalog = require('./search-catalog')
2
- const getMeta = require('./get-meta')
3
- const getStreams = require('./get-streams')
4
 
5
  module.exports = (dependencies) => {
6
  return {
7
- searchCatalog: searchCatalog(dependencies),
8
- getMeta: getMeta(dependencies),
9
- getStreams: getStreams(dependencies),
10
- }
11
- }
 
1
+ const searchCatalog = require('./search-catalog');
2
+ const getMeta = require('./get-meta');
3
+ const getStreams = require('./get-streams');
4
 
5
  module.exports = (dependencies) => {
6
  return {
7
+ searchCatalog: searchCatalog, // Pass the reference to the function
8
+ getMeta: getMeta, // Pass the reference to the function
9
+ getStreams: getStreams, // Pass the reference to the function
10
+ };
11
+ };