fix log output

This commit is contained in:
davidnewhall2 2020-02-04 02:43:16 -08:00
parent ec1c4a7479
commit 60a7be9351
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}