Skip to content

Commit

Permalink
cast to SF friendly date
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo committed Oct 25, 2024
1 parent 5e3e259 commit fadf622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routines/update_salesforce_assignable_fields.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def call(created_after)
next if contact.nil?

contact.assignable_interest = 'Fully Integrated'
contact.assignable_adoption_date = external_id.min_created_at
contact.assignable_adoption_date = external_id.min_created_at.strftime('%Y-%m-%d')
contact.save!
end
end
Expand Down

0 comments on commit fadf622

Please sign in to comment.