remove unused code

This commit is contained in:
Ruidy 2024-08-19 14:27:04 +02:00
parent e37228ba31
commit 1d1c871b8a
No known key found for this signature in database
GPG key ID: E00F51288CB857CC

View file

@ -85,12 +85,7 @@ func run(c context.Context, getEnv func(string) string) error {
}
// build calendar service
cs, err := calendar.NewService(
ctx,
getEnv("CALENDAR_CREDENTIALS"),
calendar.WithCalendar("T2", getEnv("CALENDAR_ID_T2")),
calendar.WithCalendar("T3", getEnv("CALENDAR_ID_T3")),
)
cs, err := calendar.NewService(ctx, getEnv("CALENDAR_CREDENTIALS"))
if err != nil {
log.Fatalf("error starting calendar service %s", err)
}