Fixes for template emails

This commit is contained in:
David Bomba 2022-08-01 06:20:38 +10:00
parent 2ac46b7392
commit d7f01907fa
2 changed files with 2 additions and 7 deletions

View File

@ -124,7 +124,7 @@ class TemplateEmail extends Mailable
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
if(Ninja::isHosted()){
if(Ninja::isHosted() && $this->invitation){
$path = false;

View File

@ -116,12 +116,7 @@ class VendorTemplateEmail extends Mailable
})
->tag($this->company->company_key);
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
// if (Ninja::isHosted()) {
// sleep(1);
// }
if(Ninja::isHosted()){
if(Ninja::isHosted() && $this->invitation){
$path = false;