Fix backfillips method
This commit is contained in:
parent
53a0269fa0
commit
db7be9e8e1
|
@ -92,7 +92,8 @@ class Node(HSAPICall):
|
|||
return v1NodeResponse(**response.json())
|
||||
|
||||
# Broken on server
|
||||
def backfillips(self, confirmed: bool = True) -> v1BackfillNodeIPsResponse:
|
||||
def backfillips(self) -> v1BackfillNodeIPsResponse:
|
||||
response = self.call(
|
||||
'post', f'/backfillips?confirmed={confirmed}')
|
||||
'post', f'backfillips',
|
||||
query=dict(confirmed=True))
|
||||
return v1BackfillNodeIPsResponse(**response.json())
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "hsapi-client"
|
||||
version = "0.9.6"
|
||||
version = "0.9.7"
|
||||
description = "Headscale API client"
|
||||
authors = ["Andrea Mistrali <andrea@mistrali.pw>"]
|
||||
license = "BSD"
|
||||
|
|
Loading…
Reference in New Issue