FIX: Typo on draft save

This commit is contained in:
Rafael dos Santos Silva 2020-03-11 12:12:28 -03:00
parent 12af95d0dc
commit 3f9b310beb
No known key found for this signature in database
GPG Key ID: 5E50360227B34938

View File

@ -78,7 +78,7 @@ class Draft < ActiveRecord::Base
# around 2 controller actions calling for draft creation at the exact same time
# to avoid complex locking and a distributed mutex, since this is so rare, simply add a single retry
if retry_not_unique
set(user, key, sequence, data, owenr, retry_not_unique: false)
set(user, key, sequence, data, owner, retry_not_unique: false)
else
raise e
end