We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2df606e commit 53eef92Copy full SHA for 53eef92
app/models/sponsorship_asset_file.rb
@@ -86,7 +86,7 @@ def update_object_header
86
head = s3_client.head_object(bucket: BUCKET, key: object_key, checksum_mode: :enabled)
87
self.version_id = head.version_id if head.version_id != version_id
88
self.last_modified_at = head.last_modified
89
- self.checksum_sha256 = head.checksum_sha256
+ self.checksum_sha256 = head.checksum_sha256 || "-"
90
self
91
end
92
0 commit comments