diff --git a/db/sqldb/blob.go b/db/sqldb/blob.go index 2593ed2..f48f82f 100644 --- a/db/sqldb/blob.go +++ b/db/sqldb/blob.go @@ -233,11 +233,9 @@ func validateBlobForCreation(b *pacta.Blob) error { if b.BlobURI == "" { return fmt.Errorf("blob missing BlobURI") } - if b.FileType == "" { - return fmt.Errorf("blob missing FileType") - } if b.FileName == "" { return fmt.Errorf("blob missing FileName") } + // A blank FileType is valid, just means we don't recognize the file type yet. return nil }