File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
radar-gateway/src/main/kotlin/org/radarbase/gateway/resource Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import jakarta.ws.rs.core.MediaType
99import jakarta.ws.rs.core.Response
1010import org.glassfish.jersey.media.multipart.FormDataContentDisposition
1111import org.glassfish.jersey.media.multipart.FormDataParam
12+ import org.jvnet.hk2.annotations.Optional
1213import org.radarbase.auth.authorization.Permission
1314import org.radarbase.gateway.inject.ProcessFileUpload
1415import org.radarbase.gateway.service.storage.StorageService
@@ -21,7 +22,7 @@ import java.net.URI
2122
2223@Path(" " )
2324class FileUploadResource (
24- @Context private val storageService : StorageService ? = null ,
25+ @param:Optional @param: Context private val storageService : StorageService ? = null ,
2526) {
2627
2728 @ProcessFileUpload
You can’t perform that action at this time.
0 commit comments