Fix operations CI and snapshots
CI - Build & Test / Backend (.NET) (push) Failing after 25s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 18s
CI - Build & Test / Security Check (push) Successful in 3s

This commit is contained in:
2026-06-14 09:14:24 +02:00
parent 5ea7aa9611
commit 45a39d319f
4 changed files with 154 additions and 12 deletions
@@ -1,3 +1,4 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Nexus.Api.Services;
@@ -8,6 +9,7 @@ namespace Nexus.Api.Controllers;
public class OperationsController(IOperationsService operationsService) : ControllerBase
{
[HttpGet("snapshot")]
[Authorize]
public async Task<IResult> GetSnapshot(CancellationToken ct)
=> Results.Ok(await operationsService.GetSnapshotAsync(ct));
}