mirror of
https://github.com/discourse/discourse.git
synced 2025-03-20 12:27:24 +08:00
FIX: Typo on draft save
This commit is contained in:
parent
12af95d0dc
commit
3f9b310beb
@ -78,7 +78,7 @@ class Draft < ActiveRecord::Base
|
|||||||
# around 2 controller actions calling for draft creation at the exact same time
|
# 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
|
# to avoid complex locking and a distributed mutex, since this is so rare, simply add a single retry
|
||||||
if retry_not_unique
|
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
|
else
|
||||||
raise e
|
raise e
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user