1 2 3 4 5 6 7 8 9
import requireAuth from '../../hooks/requireAuth'; import signAuthority from '../../hooks/signAuthority'; export default { before: { create: [requireAuth, signAuthority] } };