mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 20:25:28 +00:00
Would be nice to remove the references as well...
This commit is contained in:
@@ -50,9 +50,9 @@ class ExportJob extends Model
|
||||
*/
|
||||
public static function routeBinder(string $value): ExportJob
|
||||
{
|
||||
if ($guard->check()) {
|
||||
if (auth()->check()) {
|
||||
$key = trim($value);
|
||||
$exportJob = $guard->user()->exportJobs()->where('key', $key)->first();
|
||||
$exportJob = auth()->user()->exportJobs()->where('key', $key)->first();
|
||||
if (null !== $exportJob) {
|
||||
return $exportJob;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user