diff --git a/Server/Program.cs b/Server/Program.cs index 6293348..8dfd977 100644 --- a/Server/Program.cs +++ b/Server/Program.cs @@ -29,7 +29,7 @@ builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddHttpContextAccessor(); -builder.Services.AddScoped(); +builder.Services.AddScoped(); // Configure authentication builder.Services.AddAuthentication(options => diff --git a/Services/GoogleCalendarService.cs b/Services/GoogleCalendarService.cs index 4fc9312..1a5d90d 100644 --- a/Services/GoogleCalendarService.cs +++ b/Services/GoogleCalendarService.cs @@ -8,14 +8,14 @@ using ShiftScheduler.Shared; namespace ShiftScheduler.Services; -public interface IGoogleCalendarService +public interface IOldGoogleCalendarService { Task> GetCalendarsAsync(); Task SyncShiftsToCalendarAsync(string calendarId, List shifts); } public class GoogleCalendarService(IHttpContextAccessor httpContextAccessor, IConfigurationService configurationService) - : IGoogleCalendarService + : IOldGoogleCalendarService { public async Task> GetCalendarsAsync() {