Sha256: 8891a9afc0eb5745ba0c9112696fde240c075e12dc5690fb61fb5a1030a7c3dd

Contents?: true

Size: 188 Bytes

Versions: 62

Compression:

Stored size: 188 Bytes

Contents

module Workarea
  class AuditLogClientMiddleware
    def call(worker, msg, *)
      msg['current_modifier_id'] = Mongoid::AuditLog.current_modifier&.id&.to_s
      yield
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.15 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.36 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.14 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.35 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.13 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.34 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.12 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.33 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.11 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.10 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.32 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.9 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.31 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.8 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.30 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.7 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.29 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.6 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.4.28 app/middleware/workarea/audit_log_client_middleware.rb
workarea-core-3.5.5 app/middleware/workarea/audit_log_client_middleware.rb