MCPcopy
hub / github.com/gotify/server / UpdateUser

Method UpdateUser

database/user.go:72–74  ·  view source on GitHub ↗

UpdateUser updates a user.

(user *model.User)

Source from the content-addressed store, hash-verified

70
71// UpdateUser updates a user.
72func (d *GormDatabase) UpdateUser(user *model.User) error {
73 return d.DB.Save(user).Error
74}
75
76// CreateUser creates a user.
77func (d *GormDatabase) CreateUser(user *model.User) error {

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.65

Tested by

no test coverage detected