From 79af91a0d64ec3c099c507e862e3fe3c79383ba3 Mon Sep 17 00:00:00 2001 From: James Salter Date: Wed, 18 Aug 2021 18:18:53 +0100 Subject: [PATCH] Ammend comment with new type --- services/github/github.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/services/github/github.go b/services/github/github.go index cccb634..85f4c2a 100644 --- a/services/github/github.go +++ b/services/github/github.go @@ -755,7 +755,12 @@ func (s *Service) loadBotOptions(roomID id.RoomID, logger *log.Entry) (result ma } } // Expect opts to look like: - // { github: { default_repo: $OWNER_REPO } } + // { + // github: { + // default_repo: $OWNER_REPO, + // new_issue_labels: [ "label1", .. ] + // } + // } ghOpts, ok := opts.Options["github"].(map[string]interface{}) if !ok { err = fmt.Errorf("Failed to cast bot options as github options")