Compare commits

..

1 Commits

Author SHA1 Message Date
46bbc34956 refactor: fix error WHITESPACE and FINALNEWLINE 2025-02-11 17:13:13 +03:00
2 changed files with 3 additions and 3 deletions
Endpoint/Controllers/V1

@ -315,4 +315,4 @@ public class AuthController(IOptionsSnapshot<Admin> user, IOptionsSnapshot<Gener
return Ok(password);
}
}
}

@ -203,10 +203,10 @@ public class ScheduleController(ILogger<ScheduleController> logger, IOptionsSnap
{
try
{
using var scope = scopeFactory.CreateScope();
using var scope = scopeFactory.CreateScope();
var sync = (ScheduleSynchronizer)ActivatorUtilities.GetServiceOrCreateInstance(scope.ServiceProvider, typeof(ScheduleSynchronizer));
await sync.StartSync(filePaths, CancellationToken.None);
await sync.StartSync(filePaths, CancellationToken.None);
}
catch (Exception ex)
{