Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Fix-up attempt to use newer AWS SDK packages.
  • Loading branch information
martincostello committed Sep 27, 2024
1 parent fd6cb49 commit a23f503
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<ItemGroup Label="Libraries">
<PackageVersion Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.400" />
<PackageVersion Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.300" />
<PackageVersion Include="AWSSDK.SimpleNotificationService" Version="3.7.400" />
<PackageVersion Include="AWSSDK.SQS" Version="3.7.400" />
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="1.1.1" />
Expand Down
2 changes: 1 addition & 1 deletion src/JustSaying/Extensions/AmazonSqsClientExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static async Task<IList<Message>> ReceiveMessagesAsync(this IAmazonSQS cl

var result = await client.ReceiveMessageAsync(new ReceiveMessageRequest(queueUrl)
{
AttributeNames = [.. attributesToLoad],
MessageSystemAttributeNames = [.. attributesToLoad],
WaitTimeSeconds = secondsWaitTime,
MaxNumberOfMessages = maxNumOfMessages
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<ProjectReference Include="..\JustSaying.TestingFramework\JustSaying.TestingFramework.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AWSSDK.SimpleNotificationService" VersionOverride="3.7.300.5" />
<PackageReference Include="AWSSDK.SQS" VersionOverride="3.7.300.5" />
<PackageReference Include="AWSSDK.SimpleNotificationService" VersionOverride="3.7.400.25" />
<PackageReference Include="AWSSDK.SQS" VersionOverride="3.7.400.25" />
<PackageReference Include="GitHubActionsTestLogger" />
<PackageReference Include="MartinCostello.Logging.XUnit" />
<PackageReference Include="MELT.Xunit" />
Expand Down
4 changes: 2 additions & 2 deletions tests/JustSaying.UnitTests/JustSaying.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<ProjectReference Include="..\JustSaying.TestingFramework\JustSaying.TestingFramework.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AWSSDK.SimpleNotificationService" VersionOverride="3.7.300.5" />
<PackageReference Include="AWSSDK.SQS" VersionOverride="3.7.300.5" />
<PackageReference Include="AWSSDK.SimpleNotificationService" VersionOverride="3.7.400.25" />
<PackageReference Include="AWSSDK.SQS" VersionOverride="3.7.400.25" />
<PackageReference Include="GitHubActionsTestLogger" />
<PackageReference Include="MELT" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
Expand Down

0 comments on commit a23f503

Please sign in to comment.