This commit is contained in:
Andrea Mistrali 2024-09-02 12:56:19 +02:00
parent 9462f236b4
commit 53a0269fa0
Signed by: andre
SSH Key Fingerprint: SHA256:/D780pZnuHMQ8xFII5lAtXWy8zdowtBhgWjwi88p+lI
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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"