naming mismatch
Some checks failed
builder / build (push) Failing after 25s

This commit is contained in:
abs3nt 2024-10-27 10:46:17 -07:00
parent 785df8ee46
commit d63d5ac778
Signed by: abs3nt
GPG Key ID: A7BD96A8BAB04C09

View File

@ -92,7 +92,7 @@ func Run(c *commands.Commander, s fx.Shutdowner) {
if cmd.Args().Present() { if cmd.Args().Present() {
return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " ")) return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " "))
} }
return sendCommandRPC("PrintLink", daemon.LinkArgs{}) return sendCommandRPC("Link", daemon.LinkArgs{})
}, },
Category: "Sharing", Category: "Sharing",
}, },
@ -104,7 +104,7 @@ func Run(c *commands.Commander, s fx.Shutdowner) {
if cmd.Args().Present() { if cmd.Args().Present() {
return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " ")) return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " "))
} }
return sendCommandRPC("PrintLinkContext", daemon.LinkContextArgs{}) return sendCommandRPC("LinkContext", daemon.LinkContextArgs{})
}, },
Category: "Sharing", Category: "Sharing",
}, },
@ -116,7 +116,7 @@ func Run(c *commands.Commander, s fx.Shutdowner) {
if cmd.Args().Present() { if cmd.Args().Present() {
return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " ")) return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " "))
} }
return sendCommandRPC("PrintYoutubeLink", daemon.YoutubeLinkArgs{}) return sendCommandRPC("YoutubeLink", daemon.YoutubeLinkArgs{})
}, },
Category: "Sharing", Category: "Sharing",
}, },
@ -342,7 +342,7 @@ func Run(c *commands.Commander, s fx.Shutdowner) {
if cmd.Args().Present() { if cmd.Args().Present() {
return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " ")) return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " "))
} }
return sendCommandRPC("ListDevices", daemon.ListDevicesArgs{}) return sendCommandRPC("Devices", daemon.ListDevicesArgs{})
}, },
Category: "Info", Category: "Info",
}, },