From 3b112952d69dacf7b68bc1413b85c076b095d45f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 14 Apr 2021 15:28:05 +1000 Subject: [PATCH 1/2] Minor fixes --- app/Jobs/Mail/NinjaMailerJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Mail/NinjaMailerJob.php b/app/Jobs/Mail/NinjaMailerJob.php index c82f16605f..e4d16ec978 100644 --- a/app/Jobs/Mail/NinjaMailerJob.php +++ b/app/Jobs/Mail/NinjaMailerJob.php @@ -108,7 +108,7 @@ class NinjaMailerJob implements ShouldQueue event(new InvoiceWasEmailedAndFailed($this->nmo->invitation, $this->nmo->company, $message, $this->nmo->reminder_template, Ninja::eventVars(auth()->user() ? auth()->user()->id : null))); break; case Payment::class: - event(new PaymentWasEmailedAndFailed($this->nmo->entity, $this->nmo->company, $message, Ninja::eventVars(auth()->user ? auth()->user()->id : null))); + event(new PaymentWasEmailedAndFailed($this->nmo->entity, $this->nmo->company, $message, Ninja::eventVars(auth()->user() ? auth()->user()->id : null))); break; default: # code... From d45c7261ccc62278bbdb4a8c50ba7eda53ce2ef0 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 14 Apr 2021 15:28:26 +1000 Subject: [PATCH 2/2] v5.1.46 --- VERSION.txt | 2 +- config/ninja.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 3deddf16c2..b3084435fb 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.1.45 \ No newline at end of file +5.1.46 \ No newline at end of file diff --git a/config/ninja.php b/config/ninja.php index 4c40162c8c..bda3d8bb41 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -14,8 +14,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', ''), - 'app_version' => '5.1.45', - 'app_tag' => '5.1.45-release', + 'app_version' => '5.1.46', + 'app_tag' => '5.1.46-release', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),