Skip to content

Commit 37cbaa8

Browse files
authored
Merge pull request #1468 from MITLibraries/update-sip-directory
Update S3 keys for Archivematica payloads
2 parents ead98fb + 1eddab0 commit 37cbaa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/archivematica_payload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def bag_name
8282

8383
# The bag_output_uri key is constructed to match the expected format for Archivematica.
8484
def bag_output_uri
85-
key = "etdsip/#{thesis.graduation_year}/#{thesis.graduation_month}-#{thesis.accession_number}/#{bag_name}.zip"
85+
key = "etdsip-apt/#{thesis.graduation_year}/#{thesis.graduation_month}-#{thesis.accession_number}/#{bag_name}.zip"
8686
[ENV.fetch('APT_S3_BUCKET'), key].join('/')
8787
end
8888

0 commit comments

Comments
 (0)