Skip to content

Commit 5b0fc48

Browse files
committed
[fix]: restore missing EndPoints using and add missing src updates for .NET 10
1 parent f53a5ee commit 5b0fc48

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/ByteSync.Client/Business/Actions/Shared/SharedActionsGroup.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using ByteSync.Business.Inventories;
22
using ByteSync.Common.Business.Actions;
3-
using ByteSync.Common.Business.EndPoints;
43
using ByteSync.Common.Business.Inventories;
54

65
namespace ByteSync.Business.Actions.Shared;

src/ByteSync.Functions/ByteSync.Functions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.SignalRService" Version="1.14.1" />
2020
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Timer" Version="4.3.1" />
2121
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="2.0.7" />
22-
<PackageReference Include="Microsoft.Azure.AppConfiguration.AspNetCore" Version="8.1.2" />
22+
<PackageReference Include="Microsoft.Azure.AppConfiguration.AspNetCore" Version="8.5.0" />
2323
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.5"/>
2424
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.33.0"/>
2525
<PackageReference Include="Microsoft.Azure.SignalR.Management" Version="1.33.0"/>

src/ByteSync.Functions/Http/TrustFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Net;
1+
using System.Net;
22
using Microsoft.Azure.Functions.Worker;
33
using Microsoft.Azure.Functions.Worker.Http;
44
using ByteSync.Common.Business.Sessions.Cloud.Connections;
@@ -32,6 +32,7 @@ public async Task<HttpResponseData> StartTrustCheck(
3232
var result = await _mediator.Send(request);
3333

3434
var response = req.CreateResponse();
35+
response.StatusCode = HttpStatusCode.OK;
3536
await response.WriteAsJsonAsync(result);
3637

3738
return response;

tests/ByteSync.Functions.UnitTests/Http/TrustFunctionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using ByteSync.Common.Business.Trust.Connections;
66
using ByteSync.Common.Business.Versions;
77
using ByteSync.Common.Controls.Json;
8+
using ByteSync.Common.Business.EndPoints;
89
using ByteSync.Functions.Http;
910
using ByteSync.Functions.UnitTests.TestHelpers;
1011
using ByteSync.ServerCommon.Business.Auth;

0 commit comments

Comments
 (0)