Some refactoring for self-tests

This commit is contained in:
Rick Falkvinge
2018-10-28 16:40:01 +01:00
parent 7e7f07ab67
commit 83ecea2af3
4 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -901,7 +901,7 @@ namespace Swarmops.Backend
private static void InternalHeartbeat()
{
JObject json = new JObject();
json["MessageType"] = "InternalHeartbeat";
json["MessageType"] = "BackendHeartbeat";
json["Timestamp"] = DateTime.UtcNow.ToUnix();
_socketServer.WebSocketServices.Broadcast(json.ToString());