remove "get alias" from legacy controller

This commit is contained in:
Carsten Otto
2021-11-20 19:53:47 +01:00
parent f84afefbe3
commit 59d984ec96
3 changed files with 1 additions and 26 deletions

View File

@@ -47,12 +47,6 @@ public class LegacyController {
this.metrics = metrics;
}
@GetMapping("/node/{pubkey}/alias")
public String getAlias(@PathVariable Pubkey pubkey) {
mark("getAlias");
return nodeService.getAlias(pubkey);
}
@GetMapping("/node/{pubkey}/open-channels")
public String getOpenChannelIdsForPubkey(@PathVariable Pubkey pubkey) {
mark("getOpenChannelIdsForPubkey");