mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-09 20:26: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
|
||||
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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue