1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +12:00

Fixed test

This commit is contained in:
Eldad Fux 2020-06-09 07:27:09 +03:00
parent 26a133a3f8
commit 98846adfc9

View file

@ -341,7 +341,7 @@ $utopia->post('/v1/teams/:teamId/memberships')
$mail->AltBody = strip_tags($body->render());
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();
}
} catch (\Exception $error) {