diff options
Diffstat (limited to 'store/sql_supplier_reactions.go')
-rw-r--r-- | store/sql_supplier_reactions.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_supplier_reactions.go b/store/sql_supplier_reactions.go index 30ca6beed..52697204c 100644 --- a/store/sql_supplier_reactions.go +++ b/store/sql_supplier_reactions.go @@ -38,7 +38,7 @@ func (s *SqlSupplier) ReactionSave(ctx context.Context, reaction *model.Reaction transaction.Rollback() // We don't consider duplicated save calls as an error - if !IsUniqueConstraintError(err.Error(), []string{"reactions_pkey", "PRIMARY"}) { + if !IsUniqueConstraintError(err, []string{"reactions_pkey", "PRIMARY"}) { result.Err = model.NewLocAppError("SqlPreferenceStore.Save", "store.sql_reaction.save.save.app_error", nil, err.Error()) } } else { |