users/usersModel.js
// Shoudn't remove without removing from Auth0
Shoudn't remove without removing from Auth0
Shoudn ' t remove without removing from Auth0
function remove(id) {
  return db('users')
    .where({ id })
    .del()
    .then(() => {
      return findByFilter({ id });
    });
}
function remove ( id ) { return db ( 'users' ) . where ( { id } ) . del ( ) . then ( ( ) => { return findByFilter ( { id } ) ; } ) ; }
Shoudn't remove without removing from Auth0
Shoudn ' t remove without removing from Auth0