mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 22:14:35 -04:00
expose user_id on company token transformer:
This commit is contained in:
parent
e4dcb3ef6f
commit
09e1043c13
@ -43,6 +43,7 @@ class CompanyTokenTransformer extends EntityTransformer
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'id' => $this->encodePrimaryKey($company_token->id),
|
'id' => $this->encodePrimaryKey($company_token->id),
|
||||||
|
'user_id' => $this->encodePrimaryKey($company_token->user_id),
|
||||||
'token' => $company_token->token,
|
'token' => $company_token->token,
|
||||||
'name' => $company_token->name ?: '',
|
'name' => $company_token->name ?: '',
|
||||||
'updated_at' => (int)$company_token->updated_at,
|
'updated_at' => (int)$company_token->updated_at,
|
||||||
|
14
composer.lock
generated
14
composer.lock
generated
@ -1089,6 +1089,20 @@
|
|||||||
"sqlserver",
|
"sqlserver",
|
||||||
"sqlsrv"
|
"sqlsrv"
|
||||||
],
|
],
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://www.doctrine-project.org/sponsorship.html",
|
||||||
|
"type": "custom"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://www.patreon.com/phpdoctrine",
|
||||||
|
"type": "patreon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal",
|
||||||
|
"type": "tidelift"
|
||||||
|
}
|
||||||
|
],
|
||||||
"time": "2020-04-20T17:19:26+00:00"
|
"time": "2020-04-20T17:19:26+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user