Fix golint errors

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-02-02 15:24:11 +01:00
parent b11ce54ccc
commit ece54f1616
38 changed files with 134 additions and 204 deletions

View File

@@ -73,11 +73,11 @@ func (c SlackConnection) MarshalJSON() ([]byte, error) {
WebhookURL string `json:"webhook_url,omitempty"`
}{
Type: string(ProtocolOAuth2),
AccessToken: c.OAuth2Connection.AccessToken,
RefreshToken: c.OAuth2Connection.RefreshToken,
ExpiresAt: c.OAuth2Connection.ExpiresAt,
TokenType: c.OAuth2Connection.TokenType,
Scope: c.OAuth2Connection.Scope,
AccessToken: c.AccessToken,
RefreshToken: c.RefreshToken,
ExpiresAt: c.ExpiresAt,
TokenType: c.TokenType,
Scope: c.Scope,
WebhookURL: c.Settings.WebhookURL,
})
}