Skip to content

Commit

Permalink
Integration.jid fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Oct 12, 2020
1 parent b700758 commit 5674b9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type Integration struct {
Form IntegrationForm `json:"form"`

// Chat id
Group *JID `json:"group,omitempty"`
Group JID `json:"group,omitempty"`

// Full description
Help string `json:"help,omitempty"`
Expand All @@ -68,7 +68,7 @@ type IntegrationKind struct {
// Complete integrations data, as received from server
type Integrations struct {
// Currently existing integrations
Integrations []Integration `json:"integrations"`
Integrations []Integration `json:"integrations"`
// Types of integrations available for setup
Kinds []IntegrationKind `json:"kinds"`
Kinds []IntegrationKind `json:"kinds"`
}

0 comments on commit 5674b9f

Please sign in to comment.