Add JWT auth, token service & Neutrino endpoint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RecNet.Application.Services.Configuration;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RecNet.Domain.Services.Configuration;
|
||||
|
||||
namespace API.Controllers.Config.V1;
|
||||
|
||||
@@ -11,7 +11,7 @@ public class ConfigController(IConfigService configService) : ControllerBase
|
||||
public async Task<ActionResult<string>> GetMotd(CancellationToken ct = default)
|
||||
{
|
||||
var motd = await configService.GetAsync("Config:MOTD", "Ten Whole Years!", ct);
|
||||
|
||||
|
||||
return Ok(motd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user