Skip to content

Commit

Permalink
Fix: Prevent null encryptionKey
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectmak committed Oct 22, 2020
1 parent 3af94a4 commit 84ba0fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/textile/model/received_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ func (m *model) CreateReceivedFileViaPublicLink(
FileName: filename,
FileSize: fileSize,
},
ReceivedFileViaInvitationSchema: ReceivedFileViaInvitationSchema{
EncryptionKey: []byte(""),
},
Accepted: accepted,
CreatedAt: time.Now().UnixNano(),
}
Expand Down

0 comments on commit 84ba0fb

Please sign in to comment.