fix: set to correct produces

This commit is contained in:
Polianin Nikita 2024-09-18 06:05:40 +03:00
parent 88d78dfab3
commit 076d6498a1

View File

@ -23,6 +23,7 @@ public class ScheduleController(IMediator mediator, IOptionsSnapshot<GeneralConf
{
[CacheMaxAge(1, 0)]
[HttpGet("StartTerm")]
[Produces("text/plain")]
public ActionResult<DateOnly> GetStartTerm() => config.Value.ScheduleSettings!.StartTerm;
[CacheMaxAge(1, 0)]