Fixes for migration mailer
This commit is contained in:
parent
c94c3fa373
commit
4b147ca77a
|
|
@ -48,6 +48,11 @@ jobs:
|
|||
run: |
|
||||
sudo rm -rf bootstrap/cache/*
|
||||
sudo rm -rf node_modules
|
||||
- name: Prune Git History
|
||||
run: |
|
||||
sudo git gc
|
||||
sudo git gc --aggressive
|
||||
sudo git prune
|
||||
- name: Build project # This would actually build your project, using zip for an example artifact
|
||||
run: |
|
||||
zip -r ./invoiceninja.zip .* -x "../*"
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ class Import implements ShouldQueue
|
|||
// if($check_data['status'] == 'errors')
|
||||
// throw new ProcessingMigrationArchiveFailed(implode("\n", $check_data));
|
||||
|
||||
Mail::to($this->user)
|
||||
Mail::to($this->user->email, $this->user->name())
|
||||
->send(new MigrationCompleted($this->company, implode("<br>",$check_data)));
|
||||
|
||||
/*After a migration first some basic jobs to ensure the system is up to date*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue