Fixed test
This commit is contained in:
parent
26a133a3f8
commit
98846adfc9
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ $utopia->post('/v1/teams/:teamId/memberships')
|
||||||
$mail->AltBody = strip_tags($body->render());
|
$mail->AltBody = strip_tags($body->render());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if(APP_MODE_ADMIN === $mode) { // No need in comfirmation when in admin mode
|
if(!APP_MODE_ADMIN === $mode) { // No need in comfirmation when in admin mode
|
||||||
$mail->send();
|
$mail->send();
|
||||||
}
|
}
|
||||||
} catch (\Exception $error) {
|
} catch (\Exception $error) {
|
||||||
|
|
Loading…
Reference in a new issue