summaryrefslogtreecommitdiffstats
path: root/api/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/user.go')
-rw-r--r--api/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go
index cf0950804..b7e6220d8 100644
--- a/api/user.go
+++ b/api/user.go
@@ -1511,7 +1511,7 @@ func UpdateActive(c *Context, user *model.User, active bool) *model.User {
}
if extra := <-Srv.Store.Channel().ExtraUpdateByUser(user.Id, model.GetMillis()); extra.Err != nil {
- c.Err = exra.Err
+ c.Err = extra.Err
}
ruser := result.Data.([2]*model.User)[0]