diff --git a/BrixelAPI.SpaceAPI/Domain/SpaceStateAggregate/SpaceState.cs b/BrixelAPI.SpaceAPI/Domain/SpaceStateAggregate/SpaceState.cs index 6625536..1cb8358 100644 --- a/BrixelAPI.SpaceAPI/Domain/SpaceStateAggregate/SpaceState.cs +++ b/BrixelAPI.SpaceAPI/Domain/SpaceStateAggregate/SpaceState.cs @@ -36,9 +36,10 @@ public static SpaceState GetConfiguredSpaceAPI() Contact = new Contact { Email = "info@brixel.be", - Irc = "irc://irc.freenode.net/brixel", - Ml = "brixel-public@discuss.brixel.be", Twitter = "@hs_hasselt", + Facebook = "https://facebook.com/Brixel.Hasselt", + Mastodon = "@brixel@mastodon.social", + Foursquare = "https://foursquare.com/v/hackerspace-brixel/54284e28498e0b0d254fa426" }, Projects = new List() { diff --git a/BrixelAPI.SpaceAPI/Features/GetFullStatus/GetFullStatusHandler.cs b/BrixelAPI.SpaceAPI/Features/GetFullStatus/GetFullStatusHandler.cs index 266afb4..cb5f36b 100644 --- a/BrixelAPI.SpaceAPI/Features/GetFullStatus/GetFullStatusHandler.cs +++ b/BrixelAPI.SpaceAPI/Features/GetFullStatus/GetFullStatusHandler.cs @@ -23,7 +23,7 @@ public async Task Handle(GetFullStatusRequest request, Ca var lastState = await _spaceStateRepository.GetLastLogAsync(); state.State.Open = lastState.IsOpen; - state.State.Lastchange = (int)lastState.ChangedAtDateTime + state.State.Lastchange = lastState.ChangedAtDateTime .ToUniversalTime() .Subtract(new DateTime(1970, 1, 1)).TotalSeconds;