Callback is not a function

i’m using mailgun. Looks like a bug

Hi, welcome to the community :wave:

Can you share the code of AuthController.js?


Did you try :

await Mail.send('change-password', {}, (message) => {

yeah, that works. Thank you
The email has send, but a had this error return

1 Like

Can you try:

await Mail.send('change-password', [], (message) => {

Same error

Can you try this code:

return response.status(200).send({})

The answer must contain something

Yeah, that works. Thanks

1 Like