5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 07:36:22 +00:00

fixup! feat: eliminar registros en njalla

This commit is contained in:
f 2023-03-31 13:44:10 -03:00
parent 03a5742889
commit 7caa27102e

View file

@ -167,9 +167,9 @@ class DeployDistributedPress < Deploy
def delete_njalla_records!
%w[a ns cname].each do |type|
next unless (id = remote_info.dig('njalla', type, 'id'))
next if (id = remote_info.dig('njalla', type, 'id')).blank?
njalla.remove_record(id: id)
njalla.remove_record(id: id.to_i)
end
end