More code for live profit

This commit is contained in:
Falkvinge
2017-05-09 22:18:10 +02:00
parent fb005ce472
commit bf954cf3b0
3 changed files with 12 additions and 6 deletions
+3 -3
View File
@@ -308,9 +308,9 @@ namespace Swarmops.Frontend.Socket
Int64 annualProfitLossCents = GetOrganizationProfitLossCents(organization);
JObject json = new JObject();
json["messageType"] = "AnnualProfitLossCents";
json["profitLossCents"] = annualProfitLossCents.ToString();
json["organizationId"] = organization.Identity;
json["MessageType"] = "AnnualProfitLossCents";
json["ProfitLossCents"] = annualProfitLossCents.ToString();
json["OrganizationId"] = organization.Identity;
BroadcastToOrganization(organization, json);
}