user_device_log_job.rb 309 B

12345678910111213
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class UserDeviceLogJob < ApplicationJob
  3. def perform(http_user_agent, remote_ip, user_id, fingerprint, type)
  4. UserDevice.add(
  5. http_user_agent,
  6. remote_ip,
  7. user_id,
  8. fingerprint,
  9. type,
  10. )
  11. end
  12. end