mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for Import
This commit is contained in:
parent
553de8fea5
commit
e0308bd982
@ -1689,11 +1689,12 @@ class Import implements ShouldQueue
|
||||
$token['company_id'] = $ninja_client->company_id;
|
||||
$token['client_id'] = $ninja_client->id;
|
||||
$token['user_id'] = $ninja_client->user_id;
|
||||
$token['company_gateway_id'] = config('ninja.ninja_default_company_gateway_id')
|
||||
$token['company_gateway_id'] = config('ninja.ninja_default_company_gateway_id');
|
||||
//todo
|
||||
|
||||
ClientGatewayToken::unguard();
|
||||
$cgt = ClientGatewayToken::Create($token);
|
||||
|
||||
ClientGatewayToken::reguard();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user