part #2
This commit is contained in:
@@ -188,8 +188,9 @@ public static class TileEndpoints
|
||||
|
||||
private static IResult TriggerSync(
|
||||
[FromServices] IServiceProvider services,
|
||||
[FromServices] ILogger<TileEndpoints> logger)
|
||||
[FromServices] ILoggerFactory loggerFactory)
|
||||
{
|
||||
var logger = loggerFactory.CreateLogger("TileEndpoints");
|
||||
// TODO: Trigger background sync job
|
||||
logger.LogInformation("Manual sync triggered");
|
||||
|
||||
@@ -281,7 +282,3 @@ public sealed record HealthResponse
|
||||
public DateTimeOffset Timestamp { get; init; }
|
||||
}
|
||||
|
||||
// Logger class for endpoint logging
|
||||
file static class TileEndpoints
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user