summaryrefslogtreecommitdiff
path: root/src/services/meal/hooks/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/meal/hooks/index.js')
-rw-r--r--src/services/meal/hooks/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/services/meal/hooks/index.js b/src/services/meal/hooks/index.js
index 2e2795a..dd0d7ca 100644
--- a/src/services/meal/hooks/index.js
+++ b/src/services/meal/hooks/index.js
@@ -9,7 +9,6 @@ exports.before = {
auth.verifyToken(),
auth.populateUser(),
auth.restrictToAuthenticated(),
- globalHooks.restrictToOwnersOrAdmins(),
],
find: [],
get: [],
@@ -26,6 +25,6 @@ exports.after = {
create: [],
update: [],
patch: [],
- remove: []
+ remove: [],
};