mirror of
https://github.com/corda/corda.git
synced 2025-01-31 00:24:59 +00:00
Fix warning in NodeAttachmentService
This commit is contained in:
parent
9e43df36d3
commit
7e0e7bc645
@ -172,5 +172,5 @@ class NodeAttachmentService(override var storePath: Path, dataSourceProperties:
|
||||
// Implementations for AcceptsFileUpload
|
||||
override val dataTypePrefix = "attachment"
|
||||
override val acceptableFileExtensions = listOf(".jar", ".zip")
|
||||
override fun upload(data: InputStream) = importAttachment(data).toString()
|
||||
override fun upload(file: InputStream) = importAttachment(file).toString()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user