Skip to content

Commit

Permalink
format backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Büßemeyer authored and Michael Büßemeyer committed Nov 22, 2024
1 parent c045038 commit 8f1ee45
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ class DataSourceController @Inject()(
isKnownUpload <- uploadService.isKnownUpload(request.body.uploadId)
_ <- if (!isKnownUpload) {
(dsRemoteWebknossosClient.reserveDataSourceUpload(request.body, urlOrHeaderToken(token, request)) ?~> "dataset.upload.validation.failed")
.flatMap(reserveUploadAdditionalInfo => uploadService.reserveUpload(request.body, reserveUploadAdditionalInfo))
.flatMap(reserveUploadAdditionalInfo =>
uploadService.reserveUpload(request.body, reserveUploadAdditionalInfo))
} else Fox.successful(())
} yield Ok
}
Expand Down

0 comments on commit 8f1ee45

Please sign in to comment.