Skip to content

Commit

Permalink
Fixed incorrect ProducesResponse for GetLastTermsOfService for AB#16805
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMaki committed Jul 26, 2024
1 parent c63109a commit a4f555d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Apps/GatewayApi/src/Controllers/UserProfileControllerV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public async Task<IActionResult> RecoverUserProfile(string hdid, CancellationTok
[Route("termsofservice")]
[AllowAnonymous]
[Produces("application/json")]
[ProducesResponseType<bool>(StatusCodes.Status200OK)]
[ProducesResponseType<TermsOfServiceModel>(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
[ResponseCache(Location = ResponseCacheLocation.Any, Duration = 3600)]
public async Task<TermsOfServiceModel> GetLastTermsOfService(CancellationToken ct)
Expand Down

0 comments on commit a4f555d

Please sign in to comment.