Remove debug output from force delete process

WHAT:
- Removed debug output line from PostSetProcess
- Fixed force_delete_start date comparison in admin notifier job

WHY:
- Debug output was adding noise to logs and wasn't necessary

HOW:
- Removed puts statement for domain status debugging
- Changed query to use exact timestamp comparison for force_delete_start
This commit is contained in:
oleghasjanov 2024-12-19 14:27:47 +02:00
parent 475b1e7fbd
commit 4b52284a86
5 changed files with 155 additions and 1 deletions

View file

@ -0,0 +1,24 @@
<h1>Force Delete Daily Summary - <%= Date.current %></h1>
<table>
<thead>
<tr>
<th>Domain</th>
<th>Reason</th>
<th>Type</th>
<th>Start Date</th>
<th>Delete Date</th>
</tr>
</thead>
<tbody>
<% @domains.each do |domain| %>
<tr>
<td><%= domain[:name] %></td>
<td><%= domain[:reason] %></td>
<td><%= domain[:force_delete_type] %></td>
<td><%= domain[:force_delete_start]&.to_date %></td>
<td><%= domain[:force_delete_date]&.to_date %></td>
</tr>
<% end %>
</tbody>
</table>