This commit is contained in:
Carsten Otto
2021-12-06 20:16:28 +01:00
parent 6826ccd7d9
commit e8be5d58a4
6 changed files with 9 additions and 16 deletions

View File

@@ -26,7 +26,6 @@ import org.springframework.web.bind.annotation.RestController;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
@RestController
@RequestMapping("/api/node/{pubkey}")
@@ -113,6 +112,6 @@ public class NodeController {
return channels.stream()
.map(Channel::getId)
.sorted()
.collect(Collectors.toList());
.toList();
}
}