P0 셀프서비스 결정론 리포트 — 적산·물질수지 폐합·cleaning 마스크 (+ P1 온라인 스펙) #1
@@ -152,7 +152,6 @@ public sealed class FeedforwardController : ControllerBase
|
||||
[HttpPost("track/{columnId:int}/{streamKey}/on")]
|
||||
public async Task<IActionResult> TrackOn(int columnId, string streamKey, CancellationToken ct)
|
||||
{
|
||||
if (!await AuthAsync(ct)) return Unauthorized(new { error = "X-Kb-Token 인증 필요" });
|
||||
var cfg = (await _config.LoadAllAsync(ct)).FirstOrDefault(c => c.Id == columnId);
|
||||
if (cfg is null) return NotFound(new { error = "config 없음" });
|
||||
var sc = cfg.Streams.FirstOrDefault(s => s.Key == streamKey);
|
||||
@@ -175,7 +174,6 @@ public sealed class FeedforwardController : ControllerBase
|
||||
[HttpPost("track/{columnId:int}/{streamKey}/off")]
|
||||
public async Task<IActionResult> TrackOff(int columnId, string streamKey, CancellationToken ct)
|
||||
{
|
||||
if (!await AuthAsync(ct)) return Unauthorized(new { error = "X-Kb-Token 인증 필요" });
|
||||
var cur = _tracking.Get(columnId, streamKey);
|
||||
_tracking.Set(new FfTrackingState
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user