Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Commit

Permalink
delete namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Braud committed Feb 2, 2018
1 parent 4141377 commit a8a7373
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = class WebhooksService extends CampsiService {
initialize() {
this.install();

this.collection = this.db.collection('webhooks.{0}'.format(this.config.namespace));
this.collection = this.db.collection('webhooks.{0}'.format(this.path));
this.router.use((req, res, next) => {
req.service = this;
next();
Expand Down
1 change: 0 additions & 1 deletion test/config/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ module.exports = {
},
webHooks: {
title: 'WebHooks',
namespace: 'hooks-ns',
options: {
preserveHooks: false,
hooks: {
Expand Down

0 comments on commit a8a7373

Please sign in to comment.