Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
cleanup services
Browse files Browse the repository at this point in the history
  • Loading branch information
CeEv committed Mar 3, 2020
1 parent 087722f commit 512738f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions src/services/groups/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const hooks = require('./hooks/');

// todo add additional services for extern groups with names,
// or force that it can only add names over force event operation
// TODO: beta
module.exports = function setup() {
const app = this;
const option = {
Expand Down
2 changes: 1 addition & 1 deletion src/services/groupviews/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const service = require('feathers-mongoose');

const { GroupViewModel } = require('./models');
const hooks = require('./hooks');

// TODO: deprecated ?
module.exports = (app) => {
const option = {
Model: GroupViewModel,
Expand Down
2 changes: 1 addition & 1 deletion src/services/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const helpers = require('./helperServices');
module.exports = (app) => {
/** first configure all services */
app.configure(lessons);
app.configure(groups);
// app.configure(groups); beta
app.configure(syncGroups);
app.configure(sections);
app.configure(viewports);
Expand Down

0 comments on commit 512738f

Please sign in to comment.