Skip to content

Commit

Permalink
Sin debugger
Browse files Browse the repository at this point in the history
vtamara committed Aug 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 86f4ef7 commit 5f8abc7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/eliminar_anexos_sin_archivo.rb
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
Msip::AnexosController.validar_existencia_archivo(validaciones)

validaciones[0][:cuerpo].each do |f|
debugger
if Sivel2Gen::AnexoCaso.where(anexo_id: f[0]).count > 0
puts "Anexo a caso: #{Sivel2Gen::AnexoCaso.where(anexo_id: f[0]).take.caso_id}"
Sivel2Gen::AnexoCaso.where(anexo_id: f[0]).delete_all

0 comments on commit 5f8abc7

Please sign in to comment.