diff options
author | Pat Lathem <patl@codero.com> | 2015-10-30 12:41:51 -0500 |
---|---|---|
committer | Pat Lathem <patl@codero.com> | 2015-10-30 12:41:51 -0500 |
commit | e6826c4d213cf33236ab1ee1d3bde96baf60a09a (patch) | |
tree | 245cc5b183d52438bd0057883219c2965e1e46f6 /store/sql_preference_store.go | |
parent | 84faccb7b74dba773cd72e2d0cebdd5bf6a34566 (diff) | |
download | chat-e6826c4d213cf33236ab1ee1d3bde96baf60a09a.tar.gz chat-e6826c4d213cf33236ab1ee1d3bde96baf60a09a.tar.bz2 chat-e6826c4d213cf33236ab1ee1d3bde96baf60a09a.zip |
Fix spelling of encountered
Diffstat (limited to 'store/sql_preference_store.go')
-rw-r--r-- | store/sql_preference_store.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/store/sql_preference_store.go b/store/sql_preference_store.go index bf6e030bf..f9f38b747 100644 --- a/store/sql_preference_store.go +++ b/store/sql_preference_store.go @@ -173,7 +173,7 @@ func (s SqlPreferenceStore) Get(userId string, category string, name string) Sto UserId = :UserId AND Category = :Category AND Name = :Name`, map[string]interface{}{"UserId": userId, "Category": category, "Name": name}); err != nil { - result.Err = model.NewAppError("SqlPreferenceStore.Get", "We encounted an error while finding preferences", err.Error()) + result.Err = model.NewAppError("SqlPreferenceStore.Get", "We encountered an error while finding preferences", err.Error()) } else { result.Data = preference } @@ -201,7 +201,7 @@ func (s SqlPreferenceStore) GetCategory(userId string, category string) StoreCha WHERE UserId = :UserId AND Category = :Category`, map[string]interface{}{"UserId": userId, "Category": category}); err != nil { - result.Err = model.NewAppError("SqlPreferenceStore.GetCategory", "We encounted an error while finding preferences", err.Error()) + result.Err = model.NewAppError("SqlPreferenceStore.GetCategory", "We encountered an error while finding preferences", err.Error()) } else { result.Data = preferences } @@ -228,7 +228,7 @@ func (s SqlPreferenceStore) GetAll(userId string) StoreChannel { Preferences WHERE UserId = :UserId`, map[string]interface{}{"UserId": userId}); err != nil { - result.Err = model.NewAppError("SqlPreferenceStore.GetAll", "We encounted an error while finding preferences", err.Error()) + result.Err = model.NewAppError("SqlPreferenceStore.GetAll", "We encountered an error while finding preferences", err.Error()) } else { result.Data = preferences } |