Skip to content

Commit

Permalink
include context in listrecordings (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
graphaelli committed Jul 23, 2020
1 parent 4286d29 commit a77deb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/zoom/listrecordings/listrecordings.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"context"
"flag"
"fmt"
"log"
Expand Down Expand Up @@ -35,7 +36,7 @@ func main() {
if err != nil {
logger.Fatal(err)
}
recordings, err := zoomClient.ListRecordings(time.Now().Add(-1**since), "")
recordings, err := zoomClient.ListRecordings(context.TODO(), time.Now().Add(-1**since), "")
if err != nil {
logger.Fatal(err)
}
Expand Down

0 comments on commit a77deb6

Please sign in to comment.