From 37cde99914ad7cef378cc78927efd14d64f449a1 Mon Sep 17 00:00:00 2001 From: James Salter Date: Thu, 19 Aug 2021 11:28:09 +0100 Subject: [PATCH] Fix schema definition --- clients/clients.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/clients.go b/clients/clients.go index a8d0df3..e11d10b 100644 --- a/clients/clients.go +++ b/clients/clients.go @@ -330,9 +330,9 @@ func (c *Clients) onRoomMemberEvent(client *mautrix.Client, event *mevt.Event) { type BotOptionsContent struct { Github struct { - DefaultRepo string `json:"default_repo,omitempty"` - NewIssueLabels string `json:"new_issue_labels,omitempty"` - } + DefaultRepo string `json:"default_repo,omitempty"` + NewIssueLabels []string `json:"new_issue_labels,omitempty"` + } `json:"github"` } func (c *Clients) initClient(botClient *BotClient) error {