From 692249724a424e9c2f06cdd00dd077f3387eba2f Mon Sep 17 00:00:00 2001 From: Ashley Slay Date: Tue, 27 Aug 2024 17:01:58 -0700 Subject: [PATCH] Put things in the right place, refs #15927 --- lib/tasks/ual_docs.rake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/tasks/ual_docs.rake b/lib/tasks/ual_docs.rake index cbf9990..b547732 100644 --- a/lib/tasks/ual_docs.rake +++ b/lib/tasks/ual_docs.rake @@ -48,10 +48,11 @@ namespace :ual_docs do # Replace Sequoia links with CyVerse/Campus Repo/UAir/S3 links if (dct_references_s['http://schema.org/downloadUrl'].include? row['sequoia']) && (!row['public_link'].empty?) dct_references_s['http://schema.org/downloadUrl'] = row['public_link'] + + # Add filesize + record_out['gbl_fileSize_s'] = row['gbl_fileSize_s'] end - # Add filesize - record_out['gbl_fileSize_s'] = row['gbl_fileSize_s'] end # Rewrite the field's value back to JSON