Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
binq committed Sep 23, 2024
1 parent f732efe commit 98882af
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion modules/vye/app/controllers/vye/v1/verifications_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def create

validate_award_ids!

transact_date = Time.zone.today
transact_date = cert_through_date
pending_verifications.each do |verification|
verification.update!(transact_date:, source_ind:)
end
Expand All @@ -26,6 +26,16 @@ def create

private

def cert_through_date
found = nil
pending_verifications.each do |pv|
found =
#find the most farest into the future of this one pv.act_end
end

Check failure on line 34 in modules/vye/app/controllers/vye/v1/verifications_controller.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token kEND (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)

found
end

def award_ids
params.fetch(:award_ids, []).map(&:to_i)
end
Expand Down

0 comments on commit 98882af

Please sign in to comment.