From 60a7be9351ba8ad5fea9150ff51255fc248116f2 Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Tue, 4 Feb 2020 02:43:16 -0800 Subject: [PATCH] fix log output --- core/unifi/unifi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/unifi/unifi.go b/core/unifi/unifi.go index c0a437a3..a72b9613 100644 --- a/core/unifi/unifi.go +++ b/core/unifi/unifi.go @@ -156,7 +156,7 @@ func (u *Unifi) GetData(apiPath string, v interface{}, params ...string) error { } u.DebugLog("Requested %s: elapsed %v, returned %d bytes", - apiPath, time.Since(start).Round(time.Millisecond), len(body)) + u.path(apiPath), time.Since(start).Round(time.Millisecond), len(body)) return json.Unmarshal(body, v) }