diff --git a/src/users.js b/src/users.js index 4bc289e9f..62f0a899f 100644 --- a/src/users.js +++ b/src/users.js @@ -17,7 +17,7 @@ exports = module.exports = { getByUsername: getByUsername, getAdmins: getAdmins, setPassword: setPassword, - update: updateUser, + update: update, createOwner: createOwner, getOwner: getOwner, createInvite: createInvite, @@ -408,7 +408,7 @@ function getByUsername(username, callback) { }); } -function updateUser(user, data, auditSource, callback) { +function update(user, data, auditSource, callback) { assert.strictEqual(typeof user, 'object'); assert.strictEqual(typeof data, 'object'); assert(auditSource && typeof auditSource === 'object');