Skip to content

Conversation

@nibunabu
Copy link

The mail-config job crashes because it uses await dns.resolveMx which requires the Promise API, but the default import provides the Callback API.

Error observed: The "callback" argument must be of type function. Received undefined

This PR switches the import to { promises as dns } to support the async/await usage present in the code.

The `mail-config` job crashes because it uses `await dns.resolveMx` which requires the Promise API, but the default import provides the Callback API.

Error observed: `The "callback" argument must be of type function. Received undefined`

This PR switches the import to `{ promises as dns }` to support the async/await usage present in the code.
@netlify
Copy link

netlify bot commented Nov 22, 2025

Deploy Preview for web-check ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 768b3d3
🔍 Latest deploy log https://app.netlify.com/projects/web-check/deploys/6921cdb06f323700089e8e36
😎 Deploy Preview https://deploy-preview-263--web-check.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant