mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 18:35:13 +00:00
style(jobs): fix array-bracket spacing and add final newline
This commit is contained in:
parent
a02f122c2d
commit
20ffa8d1e4
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ class Identity::ReapAgedOutUsersJob < ApplicationJob
|
||||||
queue_as :default
|
queue_as :default
|
||||||
|
|
||||||
def perform
|
def perform
|
||||||
aged_out = Identity.where(ysws_eligible: true, hq_override: [false, nil])
|
aged_out = Identity.where(ysws_eligible: true, hq_override: [ false, nil ])
|
||||||
.where("birthday <= ?", 19.years.ago.to_date)
|
.where("birthday <= ?", 19.years.ago.to_date)
|
||||||
|
|
||||||
reaped_count = 0
|
reaped_count = 0
|
||||||
|
|
@ -15,4 +15,4 @@ class Identity::ReapAgedOutUsersJob < ApplicationJob
|
||||||
|
|
||||||
Rails.logger.info "ReapAgedOutUsersJob: marked #{reaped_count} #{"user".pluralize reaped_count} as alumni and ineligible"
|
Rails.logger.info "ReapAgedOutUsersJob: marked #{reaped_count} #{"user".pluralize reaped_count} as alumni and ineligible"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue