mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
chore(connector): typo fix, SendGrid -> Mailgun for mailgun connector (#4975)
* chore(connector): typo fix, SendGrid -> Mailgun for mailgun connector * refactor: apply suggestions from code review --------- Co-authored-by: Gao Sun <gao@silverhand.io>
This commit is contained in:
parent
8c4bfbce16
commit
531c59068d
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ const sendMessage = (getConfig: GetConnectorConfig): SendMessageFunction => {
|
|||
};
|
||||
};
|
||||
|
||||
const createSendGridMailConnector: CreateConnector<EmailConnector> = async ({ getConfig }) => {
|
||||
const createMailgunMailConnector: CreateConnector<EmailConnector> = async ({ getConfig }) => {
|
||||
return {
|
||||
metadata: defaultMetadata,
|
||||
type: ConnectorType.Email,
|
||||
|
@ -97,4 +97,4 @@ const createSendGridMailConnector: CreateConnector<EmailConnector> = async ({ ge
|
|||
};
|
||||
};
|
||||
|
||||
export default createSendGridMailConnector;
|
||||
export default createMailgunMailConnector;
|
||||
|
|
Loading…
Reference in a new issue