src/api/route/profile.js
Function default
has 119 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function (app, config, emitter, userRepository, tokenAuth, sendHttpProblem) {
/**
* A user may request a to use a new email address, by supplying it to this endpoint
* which will generate a token that is sent to the new address.
*/
Function default
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export default function (app, config, emitter, userRepository, tokenAuth, sendHttpProblem) {