Skip to content

Instantly share code, notes, and snippets.

@fmoessle
Created August 27, 2019 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fmoessle/2415df8b4614c5433c7734a63003f945 to your computer and use it in GitHub Desktop.
Save fmoessle/2415df8b4614c5433c7734a63003f945 to your computer and use it in GitHub Desktop.
const { disallow } = require('feathers-hooks-common')
module.exports = {
before: {
all: [],
find: [],
get: [
disallow()
],
create: [
disallow()
],
update: [
disallow()
],
patch: [
disallow()
],
remove: [
disallow()
]
},
after: {
all: [],
find: [],
get: [],
create: [],
update: [],
patch: [],
remove: []
},
error: {
all: [],
find: [],
get: [],
create: [],
update: [],
patch: [],
remove: []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment