mirror of
https://ak-git.vectorsigma.ru/terghalin/metalcheck.git
synced 2026-02-21 08:40:29 +09:00
fix(vm): change method from post to get
This commit is contained in:
@@ -37,7 +37,7 @@ def add_vm_data(vm: VirtualMachine):
|
||||
)
|
||||
return {"message": f"Virtual machine '{vm.name}' added successfully."}
|
||||
|
||||
@router.post("/vm/import-hetzner")
|
||||
@router.get("/vm/import-hetzner")
|
||||
def import_hetzner_vms(api_token: str = None):
|
||||
"""
|
||||
Import virtual machines from Hetzner Cloud.
|
||||
|
||||
Reference in New Issue
Block a user