summaryrefslogtreecommitdiff
path: root/internal/api/client/account/accountupdate.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/account/accountupdate.go')
-rw-r--r--internal/api/client/account/accountupdate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/account/accountupdate.go b/internal/api/client/account/accountupdate.go
index f55f45f59..282d172ed 100644
--- a/internal/api/client/account/accountupdate.go
+++ b/internal/api/client/account/accountupdate.go
@@ -122,7 +122,7 @@ func (m *Module) AccountUpdateCredentialsPATCHHandler(c *gin.Context) {
return
}
- acctSensitive, err := m.processor.AccountUpdate(authed, form)
+ acctSensitive, err := m.processor.AccountUpdate(c.Request.Context(), authed, form)
if err != nil {
l.Debugf("could not update account: %s", err)
c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})