Merge branch 'master' of github.com:akaunting/akaunting

This commit is contained in:
Cüneyt Şentürk 2023-05-11 09:29:29 +03:00
commit d447cea475
2 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class SendInvalidEmailNotification
return; return;
} }
$type = trans('general.users', 1); $type = trans_choice('general.users', 1);
foreach ($users as $user) { foreach ($users as $user) {
if ($user->cannot('read-notifications')) { if ($user->cannot('read-notifications')) {

View File

@ -2,6 +2,7 @@
return [ return [
// @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), 'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),
// capture release as git sha // capture release as git sha
@ -81,4 +82,6 @@ return [
'traces_sampler' => [env('SENTRY_TRACES_SAMPLER_CLASS', 'App\\Exceptions\\Trackers\\Sentry'), 'tracesSampler'], 'traces_sampler' => [env('SENTRY_TRACES_SAMPLER_CLASS', 'App\\Exceptions\\Trackers\\Sentry'), 'tracesSampler'],
'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_PROFILES_SAMPLE_RATE'),
]; ];