MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / update

Method update

server/controllers/UserController.js:407–415  ·  view source on GitHub ↗
(id, data)

Source from the content-addressed store, hash-verified

405 }
406
407 update(id, data) {
408 return db.User.update(data, { where: { "id": id } })
409 .then(() => {
410 return this.findById(id);
411 })
412 .catch((error) => {
413 return new Promise((resolve, reject) => reject(new Error(error)));
414 });
415 }
416
417 getTeamInvitesByUser(email) {
418 return db.TeamInvitation.findAll({

Callers 7

requestPasswordResetMethod · 0.95
changePasswordMethod · 0.95
updateEmailMethod · 0.95
cleanupConversationsMethod · 0.45
loginMethod · 0.45
validate2FaLoginMethod · 0.45
verify2faAppMethod · 0.45

Calls 1

findByIdMethod · 0.95

Tested by

no test coverage detected