From f5ebebe9c1f279f51283d191917d7b207b22c3d6 Mon Sep 17 00:00:00 2001
From: John Ferlito <johnf@inodes.org>
Date: Sun, 13 Oct 2024 21:36:12 +1100
Subject: [PATCH] Reduce description size

---
 app/graphql/types/query_type.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/graphql/types/query_type.rb b/app/graphql/types/query_type.rb
index 7d5beba8..486e1e95 100644
--- a/app/graphql/types/query_type.rb
+++ b/app/graphql/types/query_type.rb
@@ -62,7 +62,7 @@ def item_bwf_csv(full_identifier:, filename:)
 
       bwf = {
         'FileName' => filename,
-        'Description' => desc.join('\n').truncate(250),
+        'Description' => desc.join('\n').truncate(240),
         'Originator' => item.collector_name,
         'OriginationDate' => item.originated_on,
         'BextVersion' => 1,