mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-09 04:37:29 -06:00
Updates....
This commit is contained in:
parent
d89d3b0c63
commit
68f3ba03b2
14 changed files with 128 additions and 316 deletions
|
|
@ -59,7 +59,7 @@ func (m *Module) AccountUpdateCredentialsPATCHHandler(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
acctSensitive, err := m.processor.AccountGet(authed, authed.Account.ID)
|
||||
acctSensitive, err := m.processor.AccountUpdate(authed, form)
|
||||
if err != nil {
|
||||
l.Debugf("could not update account: %s", err)
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue