Fix warning in NodeAttachmentService

This commit is contained in:
Ross Nicoll 2017-03-17 15:03:33 +00:00 committed by Mike Hearn
parent 9e43df36d3
commit 7e0e7bc645

View File

@ -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()
}