mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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 [
|
||||
'id' => $this->encodePrimaryKey($company_token->id),
|
||||
'user_id' => $this->encodePrimaryKey($company_token->user_id),
|
||||
'token' => $company_token->token,
|
||||
'name' => $company_token->name ?: '',
|
||||
'updated_at' => (int)$company_token->updated_at,
|
||||
|
14
composer.lock
generated
14
composer.lock
generated
@ -1089,6 +1089,20 @@
|
||||
"sqlserver",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user