Cleanup `chat_name_token`
Summary
In the !91991 (merged), we renamed the chat_names.service_id
to integration_id
. That introduced a small change inside lib/gitlab/chat_name_token.rb
.
Proposal
Updating the lib/gitlab/chat_name_token.rb
with the following:
def get
Gitlab::Redis::SharedState.with do |redis|
data = redis.get(redis_shared_state_key)
Gitlab::Json.parse(data, symbolize_names: true) if data
end
end
Steps
- cleanup the newly added code in upcoming releases (e.g. 16.0)
Edited by Bojan Marjanovic