fix: set to correct produces
This commit is contained in:
parent
88d78dfab3
commit
076d6498a1
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user