mirror of
https://github.com/chenasraf/snpr.git
synced 2026-05-18 01:39:01 +00:00
usersnps should always get deleted
This commit is contained in:
@@ -13,8 +13,8 @@ class DeleteGenotype
|
||||
# which destroys the UserSnp implicitly
|
||||
Snp.where(name: us.snp_name).destroy_all
|
||||
else
|
||||
UserSnp.delete(us)
|
||||
end
|
||||
UserSnp.delete(us)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user