From 8e591a49d1a6df798f03b514becd900d6efcdd44 Mon Sep 17 00:00:00 2001 From: zhangbw Date: Tue, 15 Oct 2024 11:07:52 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20apis/device.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix bug --- apis/device.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/device.go b/apis/device.go index 238fbdb..21a24d4 100644 --- a/apis/device.go +++ b/apis/device.go @@ -276,7 +276,7 @@ func formatXML(data []byte) ([]byte, error) { func (d *Device) DumpHierarchy(compressed bool, pretty bool) (string, error) { // 965 content = self.jsonrpc.dumpWindowHierarchy(compressed, None) - result, err := d.requestJsonRpc("dumpWindowHierarchy", compressed, nil) + result, err := d.requestJsonRpc("dumpWindowHierarchy", compressed) if err != nil { return "", err }