Browse Source

Update test to remove extra parameter

Bruce Marriner 8 years ago
parent
commit
43b5f3a252
1 changed files with 1 additions and 1 deletions
  1. 1 1
      oauth2_test.go

+ 1 - 1
oauth2_test.go

@@ -39,7 +39,7 @@ func ExampleApplication() {
 	log.Printf("ApplicationUpdate: err: %+v, app: %+v\n", err, ap)
 
 	// create a new bot account for this application
-	bot, err := dg.ApplicationBotCreate(ap.ID, "")
+	bot, err := dg.ApplicationBotCreate(ap.ID)
 	log.Printf("BotCreate: err: %+v, bot: %+v\n", err, bot)
 
 	// Get a list of all applications for the authenticated user