第一版 Send-Heartbeat 正確不在寫記錄
20250522
This commit is contained in:
parent
047b85baa7
commit
4a536a897b
@ -72,7 +72,6 @@ function Send-Heartbeat($token, $ip) {
|
|||||||
-Headers @{ Authorization = "Bearer $token" } `
|
-Headers @{ Authorization = "Bearer $token" } `
|
||||||
-Body $heartbeat -ContentType "application/json"
|
-Body $heartbeat -ContentType "application/json"
|
||||||
|
|
||||||
Log "ok Heartbeat sent successfully"
|
|
||||||
} catch {
|
} catch {
|
||||||
Log "error Heartbeat failed: $($_.Exception.Message)"
|
Log "error Heartbeat failed: $($_.Exception.Message)"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user