From 5cc01bfcf1e377911387d8e12a7a5dfe7753bdbe Mon Sep 17 00:00:00 2001 From: Richard Hallett Date: Wed, 8 Jan 2020 12:19:04 +0100 Subject: [PATCH] Trim repos name for export to 80max --- app/controllers/export_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/export_controller.rb b/app/controllers/export_controller.rb index 8608e1a26..5dcea1c49 100644 --- a/app/controllers/export_controller.rb +++ b/app/controllers/export_controller.rb @@ -264,7 +264,7 @@ def repositories clients.each do |client| client_id = client.symbol.downcase row = { - accountName: client.name, + accountName: client.name.truncate(80), fabricaAccountId: client.symbol, parentFabricaAccountId: client.provider.present? ? client.provider.symbol : nil, salesForceId: client.salesforce_id,