Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[server] Lint fix

Neeraj Guptaf1e17948c468
diff --git a/server/pkg/controller/mailing_lists.go b/server/pkg/controller/mailing_lists.go
index fbec444951..497d00a69e 100644
--- a/server/pkg/controller/mailing_lists.go
+++ b/server/pkg/controller/mailing_lists.go
@@ -140,11 +140,7 @@ func (c *MailingListsController) Unsubscribe(email string) error {
// shouldSkipZoho() checks if the MailingListsController
// should be skipped due to missing credentials.
func (c *MailingListsController) shouldSkipZoho() bool {
- if c.zohoCredentials.RefreshToken == "" {
- // Skip
- return true
- }
- return false
+ return c.zohoCredentials.RefreshToken == ""
}
// shouldSkipListmonk() checks if the Listmonk mailing list