mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-12 13:46:51 +00:00
remove unused code
This commit is contained in:
parent
e37228ba31
commit
1d1c871b8a
1 changed files with 1 additions and 6 deletions
7
main.go
7
main.go
|
|
@ -85,12 +85,7 @@ func run(c context.Context, getEnv func(string) string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// build calendar service
|
// build calendar service
|
||||||
cs, err := calendar.NewService(
|
cs, err := calendar.NewService(ctx, getEnv("CALENDAR_CREDENTIALS"))
|
||||||
ctx,
|
|
||||||
getEnv("CALENDAR_CREDENTIALS"),
|
|
||||||
calendar.WithCalendar("T2", getEnv("CALENDAR_ID_T2")),
|
|
||||||
calendar.WithCalendar("T3", getEnv("CALENDAR_ID_T3")),
|
|
||||||
)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("error starting calendar service %s", err)
|
log.Fatalf("error starting calendar service %s", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue