Use checksum more broadly, not specifically SHA256

This commit is contained in:
Dane Everitt
2020-08-23 18:06:47 -07:00
parent 4cd44d2025
commit 034a310702
8 changed files with 50 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ export default ({ backup, className }: Props) => {
items: data.items.map(b => b.uuid !== backup.uuid ? b : ({
...b,
isSuccessful: parsed.is_successful || true,
sha256Hash: parsed.sha256_hash || '',
checksum: parsed.checksum || '',
bytes: parsed.file_size || 0,
completedAt: new Date(),
})),