From 3f9b310beb74b609308a0fd3f5b87cffb2d2d5d4 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Wed, 11 Mar 2020 12:12:28 -0300 Subject: [PATCH] FIX: Typo on draft save --- app/models/draft.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/draft.rb b/app/models/draft.rb index aee066c0e27..4a3ab41f02a 100644 --- a/app/models/draft.rb +++ b/app/models/draft.rb @@ -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