Commit 28666fa76e848f1f28ef486a7e42abd4272a5d09
1 parent
4f94f74f
Exists in
master
and in
1 other branch
swapped line as notices were becoming orphaned and failing tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/interactors/problem_destroy.rb
... | ... | @@ -37,8 +37,8 @@ class ProblemDestroy |
37 | 37 | end |
38 | 38 | |
39 | 39 | def delete_errs |
40 | - Err.collection.remove(:_id => { '$in' => errs_id }) | |
41 | 40 | Notice.collection.remove(:err_id => { '$in' => errs_id }) |
41 | + Err.collection.remove(:_id => { '$in' => errs_id }) | |
42 | 42 | end |
43 | 43 | |
44 | 44 | def delete_comments | ... | ... |