wulei há 1 ano atrás
pai
commit
bf81163881
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      mail/types.go

+ 1 - 1
mail/types.go

@@ -13,6 +13,6 @@ type (
 	MailAPI interface {
 		SendPanicWarning(content string) (err error)
 		SendCustomWarning(subject, content string) (err error)
-		SendErrorWarning(subject, content string) (err error)
+		SendErrorWarning(err error) error
 	}
 )