summaryrefslogtreecommitdiff
path: root/app/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/index.js')
-rw-r--r--app/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/index.js b/app/index.js
index 899848e..8ffc7c8 100644
--- a/app/index.js
+++ b/app/index.js
@@ -108,30 +108,35 @@ function OKCMS(options) {
switch (key) {
case 's3':
services.s3 = OKS3Service({
+ app: app,
express: express,
s3: config,
});
break
case 'twitter':
services.twitter = OKTwitterService({
+ app: app,
express: express,
credentials: config,
});
break
case 'webhook':
services.webhook = OKWebhookService({
+ app: app,
express: express,
config: config,
});
break
case 'instagram':
services.instagram = OKInstagramService({
+ app: app,
express: express,
config: config,
});
break
default:
services[key] = config.lib({
+ app: app,
express: express,
config: config,
meta: adminMeta,