Fixes for template emails
This commit is contained in:
parent
2ac46b7392
commit
d7f01907fa
2 changed files with 2 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue