summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorYusuke Nemoto <kaakaa@users.noreply.github.com>2017-03-31 00:20:55 +0900
committerCorey Hulen <corey@hulen.com>2017-03-30 08:20:55 -0700
commit9a9729f22fea7275637eafb4046900c9f372ec56 (patch)
treef108efde89e72488a79ccb7209398ae9be6f02c2 /store
parent29e6db5713c57d7bb46d7aea38b1001b9e8a1212 (diff)
downloadchat-9a9729f22fea7275637eafb4046900c9f372ec56.tar.gz
chat-9a9729f22fea7275637eafb4046900c9f372ec56.tar.bz2
chat-9a9729f22fea7275637eafb4046900c9f372ec56.zip
fix typo and missing messages (#5902)
Diffstat (limited to 'store')
-rw-r--r--store/sql_reaction_store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sql_reaction_store.go b/store/sql_reaction_store.go
index 076710efc..cfc7ac944 100644
--- a/store/sql_reaction_store.go
+++ b/store/sql_reaction_store.go
@@ -70,7 +70,7 @@ func (s SqlReactionStore) Save(reaction *model.Reaction) StoreChannel {
} else {
if err := transaction.Commit(); err != nil {
// don't need to rollback here since the transaction is already closed
- result.Err = model.NewLocAppError("SqlPreferenceStore.Save", "store.sql_preference.save.commit.app_error", nil, err.Error())
+ result.Err = model.NewLocAppError("SqlPreferenceStore.Save", "store.sql_reaction.save.commit.app_error", nil, err.Error())
}
}
@@ -103,7 +103,7 @@ func (s SqlReactionStore) Delete(reaction *model.Reaction) StoreChannel {
result.Err = model.NewLocAppError("SqlPreferenceStore.Delete", "store.sql_reaction.delete.app_error", nil, err.Error())
} else if err := transaction.Commit(); err != nil {
// don't need to rollback here since the transaction is already closed
- result.Err = model.NewLocAppError("SqlPreferenceStore.Delete", "store.sql_preference.delete.commit.app_error", nil, err.Error())
+ result.Err = model.NewLocAppError("SqlPreferenceStore.Delete", "store.sql_reaction.delete.commit.app_error", nil, err.Error())
} else {
result.Data = reaction
}