Skip to content

Commit

Permalink
#1693 Fix: (v2) VersionedModelController.getLatestVersionNumber(): Fu…
Browse files Browse the repository at this point in the history
…ture -> CompletableFuture (mistake reverted)
  • Loading branch information
dk1844 committed Mar 30, 2022
1 parent 3566df5 commit 219360a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ abstract class VersionedModelController[C <: VersionedModel with Product with Au

@GetMapping(Array("/detail/{name}/latestVersion"))
@ResponseStatus(HttpStatus.OK)
def getLatestVersionNumber(@PathVariable name: String): Future[Int] = {
def getLatestVersionNumber(@PathVariable name: String): CompletableFuture[Int] = {
versionedModelService.getLatestVersionNumber(name)
}

Expand Down

0 comments on commit 219360a

Please sign in to comment.