Spaces:
Paused
Paused
Update handlers/index.js
Browse files- handlers/index.js +7 -6
handlers/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
| 1 |
-
|
| 2 |
-
const
|
| 3 |
-
const
|
|
|
|
| 4 |
|
| 5 |
module.exports = (dependencies) => {
|
| 6 |
return {
|
| 7 |
-
searchCatalog: searchCatalog, //
|
| 8 |
-
getMeta: getMeta, //
|
| 9 |
-
getStreams: getStreams, //
|
| 10 |
};
|
| 11 |
};
|
|
|
|
| 1 |
+
// handlers/index.js
|
| 2 |
+
const searchCatalog = require('./search-catalog'); // Import searchCatalog
|
| 3 |
+
const getMeta = require('./get-meta'); // Import getMeta
|
| 4 |
+
const getStreams = require('./get-streams'); // Import getStreams
|
| 5 |
|
| 6 |
module.exports = (dependencies) => {
|
| 7 |
return {
|
| 8 |
+
searchCatalog: searchCatalog(dependencies), // Initialize searchCatalog function
|
| 9 |
+
getMeta: getMeta(dependencies), // Initialize getMeta function
|
| 10 |
+
getStreams: getStreams(dependencies), // Initialize getStreams function
|
| 11 |
};
|
| 12 |
};
|