2 Commits
Author SHA1 Message Date
hermes d912c5c6c3 Added partner to api cors list 2026-10-24 12:50:28 +02:00
hermes 20bdd8b209 Removed joborchestrator 2026-10-24 12:41:03 +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"
],