Skip to content

Commit

Permalink
[Automated] Merged master into target k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
va-vsp-bot committed Apr 23, 2024
2 parents 67809de + 5312b97 commit e248699
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -3,6 +3,7 @@
module SimpleFormsApi
class VBA2010207
include Virtus.model(nullify_blank: true)
STATS_KEY = 'api.simple_forms_api.20_10207'

attribute :data

Expand Down Expand Up @@ -97,7 +98,11 @@ def submission_date_stamps
[]
end

def track_user_identity(confirmation_number); end
def track_user_identity(confirmation_number)
identity = "#{data['preparer_type']} #{data['third_party_type']}"
StatsD.increment("#{STATS_KEY}.#{identity}")
Rails.logger.info('Simple forms api - 20-10207 submission user identity', identity:, confirmation_number:)
end

private

Expand Down

0 comments on commit e248699

Please sign in to comment.