|
|
|
@ -5,14 +5,6 @@ module Carto
|
|
|
|
|
module Subscribers
|
|
|
|
|
class CentralUserCommands < ::Carto::Subscribers::Base
|
|
|
|
|
|
|
|
|
|
attr_reader :notifications_topic,
|
|
|
|
|
:logger
|
|
|
|
|
|
|
|
|
|
def initialize(notifications_topic:, logger:)
|
|
|
|
|
@notifications_topic = notifications_topic
|
|
|
|
|
@logger = logger
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def update_user(payload)
|
|
|
|
|
Carto::Common::CurrentRequest.with_request_id(payload[:request_id]) do
|
|
|
|
|
logger.info(message: 'Processing :update_user', class_name: self.class.name)
|
|
|
|
|