Finishline #164

Merged
khwezi merged 2 commits from finishline into main 2026-10-24 12:51:16 +02:00
2 changed files with 3 additions and 2 deletions
@@ -11,8 +11,8 @@ public class SyncUserEndpoint : IEndpoint
{
public void Map(IEndpointRouteBuilder builder)
{
builder.MapPost("api/integration/sync", async (IJobOrchestrator jobOrchestrator,
HttpContext context, IUserService service, CancellationToken cancellationToken = default) =>
builder.MapPost("api/integration/sync", async (HttpContext context, IUserService service,
CancellationToken cancellationToken = default) =>
await service.SyncUserAsync(context.GetUserId(), context.GetUserEmail(), context.GetUserRole(), cancellationToken) switch
{
{ IsSuccess: true } => Results.Ok(),
+1
View File
@@ -1,6 +1,7 @@
{
"EnableServiceCaching": true,
"CorsOrigins": [
"https://partner.ifri.khongisa.co.za",
"https://console.ifri.khongisa.co.za",
"https://localhost:7208"
],