diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-03-29 16:04:54 +0200 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2018-03-29 10:04:54 -0400 |
commit | 014a3b6a60610ba592c5843080686f4481553136 (patch) | |
tree | 883ac2be9c96de5a8c4f34b2881da84c1fd65e21 /store/sqlstore | |
parent | eb48292a3a69ac5ffac91cdb0c5e5349ae8f85eb (diff) | |
download | chat-014a3b6a60610ba592c5843080686f4481553136.tar.gz chat-014a3b6a60610ba592c5843080686f4481553136.tar.bz2 chat-014a3b6a60610ba592c5843080686f4481553136.zip |
Fixing misspell errors (#8544)
Diffstat (limited to 'store/sqlstore')
-rw-r--r-- | store/sqlstore/channel_store.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sqlstore/channel_store.go b/store/sqlstore/channel_store.go index fe4c561ca..21785c461 100644 --- a/store/sqlstore/channel_store.go +++ b/store/sqlstore/channel_store.go @@ -750,7 +750,7 @@ func (s SqlChannelStore) SaveMember(member *model.ChannelMember) store.StoreChan if err := transaction.Commit(); err != nil { result.Err = model.NewAppError("SqlChannelStore.SaveMember", "store.sql_channel.save_member.commit_transaction.app_error", nil, err.Error(), http.StatusInternalServerError) } - // If sucessfull record members have changed in channel + // If successfull record members have changed in channel if mu := <-s.extraUpdated(channel); mu.Err != nil { result.Err = mu.Err } @@ -1065,7 +1065,7 @@ func (s SqlChannelStore) RemoveMember(channelId string, userId string) store.Sto if err != nil { result.Err = model.NewAppError("SqlChannelStore.RemoveMember", "store.sql_channel.remove_member.app_error", nil, "channel_id="+channelId+", user_id="+userId+", "+err.Error(), http.StatusInternalServerError) } else { - // If sucessfull record members have changed in channel + // If successfull record members have changed in channel if mu := <-s.extraUpdated(channel); mu.Err != nil { result.Err = mu.Err } |