mirror of
https://github.com/bashclub/check-unifi-controller.git
synced 2025-07-04 07:09:10 +02:00
Update to 0.83
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
## SOFTWARE.
|
||||
|
||||
###
|
||||
__VERSION__ = 0.80
|
||||
__VERSION__ = 0.83
|
||||
|
||||
import sys
|
||||
import socket
|
||||
@ -591,7 +591,7 @@ class unifi_controller_api(object):
|
||||
def request(self,method,url=None,path=None,site=None,json=None,**kwargs):
|
||||
if not url:
|
||||
if self.is_unifios:
|
||||
url = f"{self.url}/proxy/network/api/"
|
||||
url = f"{self.url}/proxy/network/api"
|
||||
else:
|
||||
url = f"{self.url}/api"
|
||||
if site is not None:
|
||||
|
Reference in New Issue
Block a user