We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3309eaa commit 6bd499fCopy full SHA for 6bd499f
internal/apis/call.go
@@ -4,13 +4,13 @@ import "github.com/godbus/dbus/v5"
4
5
// CallWithoutResult works like [Call] but does not read a result.
6
func CallWithoutResult(callName string, args ...any) error {
7
- _, err := call(callName, args)
+ _, err := call(callName, args...)
8
return err
9
}
10
11
// Call calls the given call name for a portal using passed arguments and returns the output.
12
func Call(callName string, args ...any) (any, error) {
13
- call, err := call(callName, args)
+ call, err := call(callName, args...)
14
if err != nil {
15
return nil, err
16
0 commit comments