Skip to content

Commit

Permalink
Don't validate variants when saving them during deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
susannasiebert committed Nov 29, 2023
1 parent d311a46 commit 4718003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/models/actions/deprecate_variant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def execute
def mark_variant_as_deprecated
variant.deprecated = true
variant.deprecation_reason = deprecation_reason
variant.save!
variant.save!(validate: false)
end

def mark_molecular_profiles_as_deprecated
Expand Down

0 comments on commit 4718003

Please sign in to comment.