Skip to content

Commit

Permalink
Serializing bug fixed (again).. (#149)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Brands (RiwaAdmin) <[email protected]>
  • Loading branch information
rbrands and Robert Brands (RiwaAdmin) authored Nov 22, 2024
1 parent 1acf76b commit 79cd31b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MeetUpFunctions/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion MeetUpPlanner/Client/Pages/About.razor
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</div>

@code {
private const string clientVersion = "2024-11-21";
private const string clientVersion = "2024-11-22";
private string serverVersion = "tbd";
private string functionsVersion = "tbd";

Expand Down
2 changes: 1 addition & 1 deletion MeetUpPlanner/Server/Controllers/UtilController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class UtilController : ControllerBase
{
private readonly MeetUpFunctions _meetUpFunctions;
private readonly ILogger<UtilController> logger;
const string serverVersion = "2024-11-21";
const string serverVersion = "2024-11-22";
string functionsVersion = "tbd";

public UtilController(ILogger<UtilController> logger, MeetUpFunctions meetUpFunctions)
Expand Down
13 changes: 12 additions & 1 deletion MeetUpPlanner/Shared/CosmosDBEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ public string PartitionKey
/// is created as according to the pattern type-key and should be unique.
/// </summary>
[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; }
Expand Down

0 comments on commit 79cd31b

Please sign in to comment.