Skip to content

Commit

Permalink
Update endpoint to return information about current logged-in user
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Oct 1, 2024
1 parent 42043f1 commit 9755d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReportPortal.Client/Resources/ServiceUserResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ServiceUserResource(HttpClient httpClient, string project) : base(httpCli

public async Task<UserResponse> GetAsync(CancellationToken cancellationToken)
{
return await GetAsJsonAsync<UserResponse>("v1/user", cancellationToken).ConfigureAwait(false);
return await GetAsJsonAsync<UserResponse>("users", cancellationToken).ConfigureAwait(false);
}
}
}

0 comments on commit 9755d2a

Please sign in to comment.