Browse Source

Fix schema definition

pull/358/head
James Salter 3 years ago
parent
commit
37cde99914
  1. 6
      clients/clients.go

6
clients/clients.go

@ -330,9 +330,9 @@ func (c *Clients) onRoomMemberEvent(client *mautrix.Client, event *mevt.Event) {
type BotOptionsContent struct { type BotOptionsContent struct {
Github 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 { func (c *Clients) initClient(botClient *BotClient) error {

Loading…
Cancel
Save