mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Fixes for migration mailer
This commit is contained in:
parent
c94c3fa373
commit
4b147ca77a
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -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
Block a user