mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add User type to ImportData
This commit is contained in:
parent
d51d728412
commit
df3d2aeec3
@ -8,6 +8,7 @@ use Illuminate\Queue\SerializesModels;
|
|||||||
use Monolog\Logger;
|
use Monolog\Logger;
|
||||||
use App\Services\ImportService;
|
use App\Services\ImportService;
|
||||||
use App\Ninja\Mailers\UserMailer;
|
use App\Ninja\Mailers\UserMailer;
|
||||||
|
use App\Models\User;
|
||||||
use Auth;
|
use Auth;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -38,7 +39,7 @@ class ImportData extends Job implements ShouldQueue
|
|||||||
* @param mixed $files
|
* @param mixed $files
|
||||||
* @param mixed $settings
|
* @param mixed $settings
|
||||||
*/
|
*/
|
||||||
public function __construct($user, $type, $settings)
|
public function __construct(User $user, $type, $settings)
|
||||||
{
|
{
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
$this->type = $type;
|
$this->type = $type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user