Fixed mail errors
This commit is contained in:
parent
5b47119ebc
commit
cf1edfc5bc
2 changed files with 5 additions and 5 deletions
|
@ -152,7 +152,7 @@ $utopia->post('/v1/auth/register')
|
||||||
// return;
|
// return;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// throw new Exception('Problem sending mail: ' . $mail->getError(), 500);
|
// throw new Exception('Problem sending mail: ' . $error->getError(), 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
$webhook
|
$webhook
|
||||||
|
@ -287,7 +287,7 @@ $utopia->post('/v1/auth/register/confirm/resend')
|
||||||
$mail->send();
|
$mail->send();
|
||||||
}
|
}
|
||||||
catch(Exception $error) {
|
catch(Exception $error) {
|
||||||
//throw new Exception('Problem sending mail: ' . $mail->getError(), 500);
|
//throw new Exception('Problem sending mail: ' . $error->getError(), 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
$response->json(array('result' => 'success'));
|
$response->json(array('result' => 'success'));
|
||||||
|
@ -519,7 +519,7 @@ $utopia->post('/v1/auth/recovery')
|
||||||
$mail->send();
|
$mail->send();
|
||||||
}
|
}
|
||||||
catch(Exception $error) {
|
catch(Exception $error) {
|
||||||
//throw new Exception('Problem sending mail: ' . $mail->getError(), 500);
|
//throw new Exception('Problem sending mail: ' . $error->getError(), 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
$audit
|
$audit
|
||||||
|
|
|
@ -383,7 +383,7 @@ $utopia->post('/v1/teams/:teamId/memberships')
|
||||||
$mail->send();
|
$mail->send();
|
||||||
}
|
}
|
||||||
catch(Exception $error) {
|
catch(Exception $error) {
|
||||||
//throw new Exception('Problem sending mail: ' . $mail->getError(), 500);
|
//throw new Exception('Problem sending mail: ' . $error->getError(), 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
$audit
|
$audit
|
||||||
|
@ -464,7 +464,7 @@ $utopia->post('/v1/teams/:teamId/memberships/:inviteId/resend')
|
||||||
$mail->send();
|
$mail->send();
|
||||||
}
|
}
|
||||||
catch(Exception $error) {
|
catch(Exception $error) {
|
||||||
//throw new Exception('Problem sending mail: ' . $mail->getError(), 500);
|
//throw new Exception('Problem sending mail: ' . $error->getError(), 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
$audit
|
$audit
|
||||||
|
|
Loading…
Reference in a new issue