mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-23 07:54:24 +01:00
add missing annotation
This commit is contained in:
@@ -32,7 +32,7 @@ public class RatingController {
|
||||
|
||||
@Timed
|
||||
@GetMapping("/channel/{channelId}/rating")
|
||||
public RatingDto getRatingForChannel(ChannelId channelId) throws NotFoundException {
|
||||
public RatingDto getRatingForChannel(@PathVariable ChannelId channelId) throws NotFoundException {
|
||||
return ratingService.getRatingForChannel(channelId)
|
||||
.map(RatingDto::fromModel)
|
||||
.orElseThrow(NotFoundException::new);
|
||||
|
||||
Reference in New Issue
Block a user