summaryrefslogtreecommitdiffstats
path: root/api/user.go
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-02-25 14:10:24 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-02-25 14:10:24 -0300
commit25d599747e6a6286a5943d63d12eb8e1b9eaa99d (patch)
tree5759453bd1e6698aabbe73f81ca73c656b1b581e /api/user.go
parent6a8df70e73d6422bee212f81f231403a10d03c26 (diff)
downloadchat-25d599747e6a6286a5943d63d12eb8e1b9eaa99d.tar.gz
chat-25d599747e6a6286a5943d63d12eb8e1b9eaa99d.tar.bz2
chat-25d599747e6a6286a5943d63d12eb8e1b9eaa99d.zip
Fix typo
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]