1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

minor fix for tokens

This commit is contained in:
David Bomba 2020-07-06 21:44:12 +10:00
parent d236dd6ff6
commit 2281b8490e

View File

@ -37,7 +37,8 @@ class TokenRepository extends BaseRepository
public function save(array $data, CompanyToken $company_token)
{
$company_token->fill($data);
$company_token->is_system = true;
$company_token->save();
return $company_token;