Skip to content

Commit

Permalink
Version 1.5.1; hotfix for optional round IDs on standardized parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbah committed Jun 6, 2023
1 parent 4e4e71d commit 19f1abb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CentCom.API/CentCom.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.5.0</Version>
<Version>1.5.1</Version>
<UserSecretsId>1f5f48fa-862f-4472-ba34-2c5a26035e88</UserSecretsId>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion CentCom.Bot/CentCom.Bot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<Version>1.5.0</Version>
<Version>1.5.1</Version>
<TargetFramework>net6.0</TargetFramework>
<UserSecretsId>c8af1449-8cdf-4707-a66d-51e896551bfb</UserSecretsId>
</PropertyGroup>
Expand Down
3 changes: 2 additions & 1 deletion CentCom.Common/Abstract/IRestBan.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using CentCom.Common.Models;
using Remora.Rest.Core;

namespace CentCom.Common.Abstract;

Expand Down Expand Up @@ -57,5 +58,5 @@ public interface IRestBan
/// <summary>
/// The optional Round ID of the ban, if present
/// </summary>
public int? RoundId { get; }
public Optional<int?> RoundId { get; }
}
2 changes: 1 addition & 1 deletion CentCom.Common/CentCom.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.5.0</Version>
<Version>1.5.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion CentCom.Common/Models/Rest/RestBan.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using CentCom.Common.Abstract;
using Remora.Rest.Core;

namespace CentCom.Common.Models.Rest;

Expand All @@ -15,5 +16,5 @@ public record RestBan
DateTimeOffset? Expires,
ICKey UnbannedBy,
IReadOnlyList<IRestJobBan> JobBans,
int? RoundId
Optional<int?> RoundId
) : IRestBan;
2 changes: 1 addition & 1 deletion CentCom.Exporter/CentCom.Exporter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.5.0</Version>
<Version>1.5.1</Version>
<UserSecretsId>a625260b-31a1-4f4b-84f4-96ccc7a335e7</UserSecretsId>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion CentCom.Server/CentCom.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Version>1.5.0</Version>
<Version>1.5.1</Version>
<UserSecretsId>94572412-7eb8-4652-aff2-8afc154cf139</UserSecretsId>
</PropertyGroup>

Expand Down

0 comments on commit 19f1abb

Please sign in to comment.