feat: use numbers when fetching from the API (#11391)

This commit is contained in:
Shivam Mishra 2025-04-29 18:12:16 +05:30 committed by GitHub
parent 59bae616cf
commit fa4c1fadba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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