diff --git a/MeetUpFunctions/Constants.cs b/MeetUpFunctions/Constants.cs index 9226735..6731ed0 100644 --- a/MeetUpFunctions/Constants.cs +++ b/MeetUpFunctions/Constants.cs @@ -22,7 +22,7 @@ public static class Constants public const string DEFAULT_DISCLAIMER = "Disclaimer"; public const string DEFAULT_GUEST_DISCLAIMER = "Guest Disclaimer"; - public const string VERSION = "2024-11-21"; + public const string VERSION = "2024-11-22"; public const int ADMINOVERBOOKFACTOR = 1; // no overbooking any more, because not needed public const int LOG_TTL = 30 * 24 * 3600; // 30 days TTL for Log items diff --git a/MeetUpPlanner/Client/Pages/About.razor b/MeetUpPlanner/Client/Pages/About.razor index 9251745..d61dfd7 100644 --- a/MeetUpPlanner/Client/Pages/About.razor +++ b/MeetUpPlanner/Client/Pages/About.razor @@ -52,7 +52,7 @@ @code { - private const string clientVersion = "2024-11-21"; + private const string clientVersion = "2024-11-22"; private string serverVersion = "tbd"; private string functionsVersion = "tbd"; diff --git a/MeetUpPlanner/Server/Controllers/UtilController.cs b/MeetUpPlanner/Server/Controllers/UtilController.cs index 9fc0d60..a37be70 100644 --- a/MeetUpPlanner/Server/Controllers/UtilController.cs +++ b/MeetUpPlanner/Server/Controllers/UtilController.cs @@ -20,7 +20,7 @@ public class UtilController : ControllerBase { private readonly MeetUpFunctions _meetUpFunctions; private readonly ILogger logger; - const string serverVersion = "2024-11-21"; + const string serverVersion = "2024-11-22"; string functionsVersion = "tbd"; public UtilController(ILogger logger, MeetUpFunctions meetUpFunctions) diff --git a/MeetUpPlanner/Shared/CosmosDBEntity.cs b/MeetUpPlanner/Shared/CosmosDBEntity.cs index 89922c6..8eaaed1 100644 --- a/MeetUpPlanner/Shared/CosmosDBEntity.cs +++ b/MeetUpPlanner/Shared/CosmosDBEntity.cs @@ -38,7 +38,18 @@ public string PartitionKey /// is created as according to the pattern type-key and should be unique. /// [JsonProperty(PropertyName = "key", NullValueHandling = NullValueHandling.Ignore)] - public string LogicalKey { get; set; } + public string Key { get; set; } + public string LogicalKey + { + get + { + return Key; + } + set + { + Key = value; + } + } // used to set Time-to-live for expiration policy [JsonProperty(PropertyName = "ttl", NullValueHandling = NullValueHandling.Ignore)] public int? TimeToLive { get; set; }