Spaces:
Paused
Paused
Update handlers/index.js
Browse files- 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
|
| 8 |
-
getMeta: getMeta
|
| 9 |
-
getStreams: getStreams
|
| 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 |
+
};
|