Optional get user script

Hi @jgeerts,

Welcome to the Community!

I know you can turn it into a no op function by returning null for both callback params. This is how you turn it ‘off’ after a migration. Like this:

function getByEmail (email, callback) {
  return callback(null, null);
}

Hope this helps,
Dan

1 Like