Skip to content

Commit

Permalink
Merge pull request #13 from bb-io/develop
Browse files Browse the repository at this point in the history
Changed ping check endpoint
  • Loading branch information
mathijs-bb authored May 16, 2024
2 parents a2a92b8 + 3ba0f7d commit a8e488a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Apps.BWX/Apps.BWX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Product>Bureau Works</Product>
<Version>1.0.10</Version>
<Version>1.0.11</Version>
<Description>Bureau Works is cutting edge translation software that helps its users translate at greater speeds and with an increased sense of authorship.</Description>
<AssemblyName>Apps.BWX</AssemblyName>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions Apps.BWX/Connections/ConnectionPingChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ public class ConnectionPingChecker : IConnectionValidator
public ValueTask<ConnectionValidationResponse> ValidateConnection(IEnumerable<AuthenticationCredentialsProvider> authProviders, CancellationToken cancellationToken)
{
var client = new BWXClient();
var request = new BWXRequest("/api/v3/project", Method.Get, authProviders);
var request = new BWXRequest("/api/v3/language", Method.Get, authProviders);
try
{
var result = client.Paginate<ProjectDto>(request).Result;
var result = client.ExecuteWithErrorHandling(request).Result;
return new ValueTask<ConnectionValidationResponse>(new ConnectionValidationResponse()
{
IsValid = true,
Expand Down

0 comments on commit a8e488a

Please sign in to comment.