Bug fix
This commit is contained in:
parent
9462f236b4
commit
53a0269fa0
|
@ -60,7 +60,7 @@ class Node(HSAPICall):
|
|||
# retrieving a specific node does not return the tags
|
||||
# This does a real get
|
||||
node = self.call('get', call_path=nodeId)
|
||||
return v1Node(**node.json())
|
||||
return v1Node(**node.json()['node'])
|
||||
|
||||
def byUser(self, username: str) -> v1ListNodesResponse:
|
||||
nodelist = self.list()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "hsapi-client"
|
||||
version = "0.9.4"
|
||||
version = "0.9.6"
|
||||
description = "Headscale API client"
|
||||
authors = ["Andrea Mistrali <andrea@mistrali.pw>"]
|
||||
license = "BSD"
|
||||
|
|
Loading…
Reference in New Issue