feat: use numbers when fetching from the API (#11391)
This commit is contained in:
parent
59bae616cf
commit
fa4c1fadba
@ -57,7 +57,7 @@ class Crm::Leadsquared::SetupService
|
||||
activity_id = find_or_create_activity_type(activity_type, existing_types)
|
||||
|
||||
if activity_id.present?
|
||||
activity_codes[activity_type[:setting_key]] = activity_id
|
||||
activity_codes[activity_type[:setting_key]] = activity_id.to_i
|
||||
else
|
||||
Rails.logger.error "Failed to find or create activity type: #{activity_type[:name]}"
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user