diff --git a/cloudconfig/templates.go b/cloudconfig/templates.go index 7d1a5b8..fc40e2d 100644 --- a/cloudconfig/templates.go +++ b/cloudconfig/templates.go @@ -355,7 +355,7 @@ function Update-GarmStatus() { } if ($AgentID -ne 0) { - $body["AgentID"] = $AgentID + $body["agent_id"] = $AgentID } Invoke-APICall -Payload $body -CallbackURL $CallbackURL | Out-Null }