Skip to content

Commit

Permalink
fix cache suggest topic
Browse files Browse the repository at this point in the history
  • Loading branch information
PHAN Xuan Quang committed Sep 12, 2024
1 parent 6918940 commit f29b46d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion EngAce.Api/Controllers/QuizController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public async Task<ActionResult<List<Quiz>>> Generate([FromBody] GenerateQuizzes
/// <response code="400">The error message if an error occurs during the suggestion process.</response>
/// <response code="401">The error message if the access key is invalid.</response>
[HttpGet("Suggest3Topics")]
[ResponseCache(Duration = ReviewScope.OneHourAsCachingAge, Location = ResponseCacheLocation.Any, NoStore = false)]
public async Task<ActionResult<List<string>>> Suggest3Topics(EnglishLevel englishLevel = EnglishLevel.Intermediate)
{
if (string.IsNullOrEmpty(_accessKey))
Expand Down

0 comments on commit f29b46d

Please sign in to comment.