Fetch team info

This commit is contained in:
Ian Gulliver
2022-10-28 19:03:04 +00:00
parent f758bf295a
commit 9e61cf416c
2 changed files with 56 additions and 5 deletions

View File

@@ -10,9 +10,13 @@ func main() {
rand.Seed(time.Now().UnixNano())
ac := NewAsanaClient()
sc := NewSlackClient()
err := Poll(ac, sc)
sc, err := NewSlackClient()
if err != nil {
log.Fatalf("%s", err)
}
err = Poll(ac, sc)
if err != nil {
log.Printf("%s", err)
}