0
Fork 0
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:
Xiao Hanyu 2023-12-07 11:27:55 +08:00 committed by GitHub
parent 8c4bfbce16
commit 531c59068d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;