Browse Source

Fix schema definition

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

4
clients/clients.go

@ -331,8 +331,8 @@ 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"`
}
NewIssueLabels []string `json:"new_issue_labels,omitempty"`
} `json:"github"`
}
func (c *Clients) initClient(botClient *BotClient) error {

Loading…
Cancel
Save